diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-17 20:52:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-17 20:52:05 +0000 |
commit | e2ce618e2c221205014fbeb01b5100482bb34355 (patch) | |
tree | d17062b588b33e730101dc98d1e3dfa29f08ad81 /utils | |
parent | 10b1f5a94196f27c75c950ba7ed26bd0a62c91e9 (diff) | |
download | external_llvm-e2ce618e2c221205014fbeb01b5100482bb34355.zip external_llvm-e2ce618e2c221205014fbeb01b5100482bb34355.tar.gz external_llvm-e2ce618e2c221205014fbeb01b5100482bb34355.tar.bz2 |
Make the check for a failed test run more robust!!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7924 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/NightlyTest.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl index a982114..7fb8570 100755 --- a/utils/NightlyTest.pl +++ b/utils/NightlyTest.pl @@ -170,7 +170,7 @@ my $BuildTimeS = GetRegex "([0-9.]+)", `grep '^sys' $Prefix-Build-Log.txt`; my $BuildWallTime = GetRegex "([0-9.]+)", `grep '^real' $Prefix-Build-Log.txt`; my $BuildTime = $BuildTimeU+$BuildTimeS; # BuildTime = User+System my $BuildError = ""; -if (`grep '^gmake: .*Error' $Prefix-Build-Log.txt | wc -l` + 0) { +if (`grep '^gmake[^:]*: .*Error' $Prefix-Build-Log.txt | wc -l` + 0) { $BuildError = "<h3>Build error: compilation <a href=\"$DATE-Build-Log.txt\">" . "aborted</a></h3>"; } |