[llvm-commits] CVS: llvm/utils/NightlyTest.pl
LLVM
llvm at cs.uiuc.edu
Sat May 29 19:21:01 PDT 2004
Changes in directory llvm/utils:
NightlyTest.pl updated: 1.46 -> 1.47
---
Log message:
Make the Regression/Feature test support excise all ": PASS" lines that
indicate successful tests. We're really only interested in the bad news
in this output :)
---
Diffs of the changes: (+7 -2)
Index: llvm/utils/NightlyTest.pl
diff -u llvm/utils/NightlyTest.pl:1.46 llvm/utils/NightlyTest.pl:1.47
--- llvm/utils/NightlyTest.pl:1.46 Fri May 28 15:30:23 2004
+++ llvm/utils/NightlyTest.pl Sat May 29 19:17:47 2004
@@ -180,7 +180,7 @@
if (!$NOCHECKOUT) {
if (-d $BuildDir) {
if (!$NOREMOVE) {
- rmdir $BuildDir or die "Could not remove CVS checkout directory $BuildDir!";
+ system "rm -rf $BuildDir";
} else {
die "CVS checkout directory $BuildDir already exists!";
}
@@ -270,14 +270,19 @@
my $firstline;
$/ = "\n"; #Make sure we're going line at a time.
if (open SRCHFILE, $filename) {
+ # Skip stuff before ---TEST RESULTS
while ( <SRCHFILE> ) {
if ( m/^--- TEST RESULTS/ ) {
push(@lines, $_); last;
}
}
+ # Process test results
while ( <SRCHFILE> ) {
if ( length($_) > 1 ) {
- if ( ! m/^gmake:/ && ! m/^ qmtest.target:/ && !/^ local/ ) {
+ if ( ! m/: PASS[ ]*$/ &&
+ ! m/^ qmtest.target:/ &&
+ ! m/^ local/ &&
+ ! m/^gmake:/ ) {
push(@lines,$_);
}
}
More information about the llvm-commits
mailing list