[llvm-commits] CVS: llvm-test/GenerateReport.pl
Chris Lattner
sabre at nondot.org
Fri Nov 3 18:35:49 PST 2006
Changes in directory llvm-test:
GenerateReport.pl updated: 1.28 -> 1.29
---
Log message:
Fix an issue with CSV output where the last header column label wouldn't be
emitted. This caused the LLC/LLC-BETA column to be empty on the nightly tester
---
Diffs of the changes: (+6 -0)
GenerateReport.pl | 6 ++++++
1 files changed, 6 insertions(+)
Index: llvm-test/GenerateReport.pl
diff -u llvm-test/GenerateReport.pl:1.28 llvm-test/GenerateReport.pl:1.29
--- llvm-test/GenerateReport.pl:1.28 Fri Mar 17 00:54:41 2006
+++ llvm-test/GenerateReport.pl Fri Nov 3 20:35:35 2006
@@ -372,11 +372,17 @@
#
# Print out the table as csv
#
+ my $firstrow = 1;
foreach $Value (@Values) {
printf "$$Value[0]";
for ($i = 1; $i < @$Value-1; $i++) {
print ",$$Value[$i]" if ($$Value[$i] ne "|");
}
+ if ($firstrow) {
+ # Print an extra column for the header.
+ print ",$$Value[@$Value-1]";
+ $firstrow = 0;
+ }
print "\n";
}
} else {
More information about the llvm-commits
mailing list