From: kanschat Date: Fri, 15 Sep 2006 19:04:43 +0000 (+0000) Subject: a script for evaluating the new status file in tests X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac3998220ca85b11adbb4c0f7eae41a3ccbc0a78;p=dealii-svn.git a script for evaluating the new status file in tests git-svn-id: https://svn.dealii.org/trunk@13909 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/common/scripts/status_to_report.pl b/deal.II/common/scripts/status_to_report.pl new file mode 100644 index 0000000000..53329a6896 --- /dev/null +++ b/deal.II/common/scripts/status_to_report.pl @@ -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 ' ??? '; +}