]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
a script for evaluating the new status file in tests
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Sep 2006 19:04:43 +0000 (19:04 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Sep 2006 19:04:43 +0000 (19:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@13909 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/scripts/status_to_report.pl [new file with mode: 0644]

diff --git a/deal.II/common/scripts/status_to_report.pl b/deal.II/common/scripts/status_to_report.pl
new file mode 100644 (file)
index 0000000..53329a6
--- /dev/null
@@ -0,0 +1,36 @@
+# $Id$
+
+# Convert the contents of the OK file to a key readable by the
+# database system for regression tests
+
+# used by tests/Makefile.rules
+
+
+my $contents = <>;
+
+$contents =~ s/\s+//g;
+
+if ($contents eq 'diffok')
+{
+    print '   + ';
+}
+elsif ($contents eq 'Compiling')
+{
+    print ' 0   ';
+}
+elsif ($contents eq 'Linking')
+{
+    print ' 0   ';
+}
+elsif ($contents eq 'Running')
+{
+    print ' 0   ';
+}
+elsif ($contents eq 'Checking')
+{
+    print ' 0   ';
+}
+else
+{
+    print ' ??? ';
+}

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.