From ac3998220ca85b11adbb4c0f7eae41a3ccbc0a78 Mon Sep 17 00:00:00 2001 From: kanschat Date: Fri, 15 Sep 2006 19:04:43 +0000 Subject: [PATCH] a script for evaluating the new status file in tests git-svn-id: https://svn.dealii.org/trunk@13909 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/common/scripts/status_to_report.pl | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 deal.II/common/scripts/status_to_report.pl 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 ' ??? '; +} -- 2.39.5