summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-08-21 20:22:52 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-08-21 20:22:52 +0000
commit71b0a31a3bebf45d56013879099489d7678948db (patch)
treeabc71b2e9120103f2c27e6867c6e1109ac50745b /utils
parent0425a87a625de7f107642242c21eafb58c2119da (diff)
downloadllvm-71b0a31a3bebf45d56013879099489d7678948db.tar.gz
llvm-71b0a31a3bebf45d56013879099489d7678948db.tar.bz2
llvm-71b0a31a3bebf45d56013879099489d7678948db.tar.xz
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
Diffstat (limited to 'utils')
-rwxr-xr-xutils/NightlyTest.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl
index 6582969db3..acf32165b9 100755
--- a/utils/NightlyTest.pl
+++ b/utils/NightlyTest.pl
@@ -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
#