Skip to content

Commit

Permalink
Make build errors stand out by coloring them red.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8017 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
mbrukman committed Aug 21, 2003
1 parent 0425a87 commit 71b0a31
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions utils/NightlyTest.pl
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,10 @@ sub GetRegexNum {

my $BuildError = "";
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>";
$BuildError = "<h3><font color='red'>Build error: compilation " .
"<a href=\"$DATE-Build-Log.txt\">aborted</a></font></h3>";
}


#
# Get warnings from the build
#
Expand Down

0 comments on commit 71b0a31

Please sign in to comment.