From 60c12ec5ee46f23d6dfa4035f269b323bc599ecc Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 3 Nov 2007 19:25:49 +0000 Subject: Log stderr output in the test log file, and don't delete it at the end of the test (it might be useful later, and will be overwritten automatically) --- runtest.pl.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'runtest.pl.in') diff --git a/runtest.pl.in b/runtest.pl.in index db58726d..01003c06 100755 --- a/runtest.pl.in +++ b/runtest.pl.in @@ -88,7 +88,8 @@ sub runtest } # run it - my $test_res = system("cd $test_mode/test/$t ; ./t | tee ../../../temp.runtest"); + my $test_res = system("cd $test_mode/test/$t ; ./t 2>&1 " . + "| tee ../../../temp.runtest"); # open test results if(open RESULTS,'temp.runtest') @@ -114,6 +115,6 @@ sub runtest } # delete test results - unlink 'temp.runtest'; + # unlink 'temp.runtest'; } -- cgit v1.2.3