summaryrefslogtreecommitdiff
path: root/lib/sbin
diff options
context:
space:
mode:
authorknarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2010-10-26 17:03:07 +0000
committerknarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2010-10-26 17:03:07 +0000
commit373bfa92bdc2ebceef041e70915bd0776b8d78cc (patch)
treeabe47f3f6c963ba68bfcd3e56aaf6a53359bae06 /lib/sbin
parent045a01d205bb111f3862618f32609aafe9dd6a94 (diff)
output (a bit) more information in the testsuite summary: current time, user name and host name
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4643 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin')
-rw-r--r--lib/sbin/RunTestUtils.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/sbin/RunTestUtils.pl b/lib/sbin/RunTestUtils.pl
index c6691e8f..38945818 100644
--- a/lib/sbin/RunTestUtils.pl
+++ b/lib/sbin/RunTestUtils.pl
@@ -792,6 +792,15 @@ sub WriteFullResults
push (@summary, '');
$total = $testdata->{"NUNRUNNABLE"}+$testdata->{"NRUNNABLE"};
+
+ my $date = `date`; chomp($date);
+ my $hostname = `hostname`; chomp($hostname);
+
+ push (@summary, " Time -> $date");
+ push (@summary, " Host -> $hostname");
+ push (@summary, " User -> ".getlogin());
+ push (@summary, '');
+
push (@summary, " Total available tests -> $total");
push (@summary, " Unrunnable tests -> $testdata->{'NUNRUNNABLE'}");
push (@summary, " Runnable tests -> $testdata->{'NRUNNABLE'}");