[llvm-commits] [test-suite] r52533 - /test-suite/trunk/HTMLColDiff.pl
Matthijs Kooijman
matthijs at stdin.nl
Fri Jun 20 03:24:37 PDT 2008
Author: matthijs
Date: Fri Jun 20 05:24:30 2008
New Revision: 52533
URL: http://llvm.org/viewvc/llvm-project?rev=52533&view=rev
Log:
Make HTMLColDiff properly show differences for non-numeric fields, it used to
output the original value twice.
Make HTMLColDiff mark tests that compiled before but are now failing with
"FAIL" and highlight them.
Modified:
test-suite/trunk/HTMLColDiff.pl
Modified: test-suite/trunk/HTMLColDiff.pl
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/HTMLColDiff.pl?rev=52533&r1=52532&r2=52533&view=diff
==============================================================================
--- test-suite/trunk/HTMLColDiff.pl (original)
+++ test-suite/trunk/HTMLColDiff.pl Fri Jun 20 05:24:30 2008
@@ -161,10 +161,17 @@
}
} elsif ($Field ne $FieldComp) {
- # Always show but never highlight changes in non-numeric
- # fields
$Show = 1;
- $Field = "$FieldComp => $FieldComp";
+ # Specially handle tests that are failing to compile but were not
+ # doing so previously
+ if ($Field eq "*") {
+ $Highlight = 1;
+ $Colour = "red";
+ $Field = "FAIL";
+ }
+ # Always show but never highlight other changes in non-numeric
+ # fields
+ $Field = "$FieldComp => $Field";
}
}
# Remove spaces, we don't want wrapping inside cells
More information about the llvm-commits
mailing list