diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-11-03 19:25:49 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-11-03 19:25:49 +0000 |
commit | 60c12ec5ee46f23d6dfa4035f269b323bc599ecc (patch) | |
tree | b97551a26264369f410accada2b98eda43e5d717 | |
parent | 12d8d1a7dc7d339cbb81b498bfc52bda02bb98b3 (diff) |
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)
-rwxr-xr-x | runtest.pl.in | 5 |
1 files changed, 3 insertions, 2 deletions
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'; } |