Make build errors stand out by coloring them red.

llvm-svn: 8017
This commit is contained in:
Misha Brukman 2003-08-21 20:22:52 +00:00
parent fb677f7e87
commit 09deeb05a2

View File

@ -198,11 +198,10 @@ my $BuildWallTime = GetRegexNum "^real", 1, "([0-9.]+)","$Prefix-Build-Log.txt";
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
#