Make build errors stand out by coloring them red.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8017 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl
index 6582969..acf3216 100755
--- a/utils/NightlyTest.pl
+++ b/utils/NightlyTest.pl
@@ -198,11 +198,10 @@
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
#