Make sure the timing output is also sent to the log file for dejagnu, not
authorReid Spencer <rspencer@reidspencer.com>
Tue, 23 Nov 2004 16:23:50 +0000 (16:23 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 23 Nov 2004 16:23:50 +0000 (16:23 +0000)
the log file of the NightlyTest.pl script.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18158 91177308-0d34-0410-b5e6-96231b3b80d8

utils/NightlyTest.pl

index 053067e4da396bcc86e6042a48f4f8ecdc5b6dbb..39db5d33247fb457c52163fc72beda1518d3928c 100755 (executable)
@@ -548,7 +548,7 @@ if($RUNDEJAGNU) {
   
   #Run the feature and regression tests, results are put into testrun.sum
   #Full log in testrun.log
-  system "time -p gmake $MAKEOPTS check-dejagnu > $dejagnu_output 2>&1";
+  system "(time -p gmake $MAKEOPTS check-dejagnu) > $dejagnu_output 2>&1";
 
   #Extract time of dejagnu tests
   my $DejagnuTimeU = GetRegexNum "^user", 0, "([0-9.]+)", "$dejagnu_output";