From fdd10b18f28fedeb05afcf6d0fe513e413e02ff3 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 23 Nov 2004 16:23:50 +0000 Subject: [PATCH] Make sure the timing output is also sent to the log file for dejagnu, not 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl index 053067e4da3..39db5d33247 100755 --- a/utils/NightlyTest.pl +++ b/utils/NightlyTest.pl @@ -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"; -- 2.34.1