summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-05-30 00:17:47 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-05-30 00:17:47 +0000
commit3b4302290dc3420ea04f47b09e81657f78f4f95f (patch)
tree722f216c4907d6e19ff2e6d829ca96ab11aef191 /llvm/utils
parent9163bcdf0ffaed10bc31e9608036aaf5e3fafec5 (diff)
downloadbcm5719-llvm-3b4302290dc3420ea04f47b09e81657f78f4f95f.tar.gz
bcm5719-llvm-3b4302290dc3420ea04f47b09e81657f78f4f95f.zip
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 :) llvm-svn: 13901
Diffstat (limited to 'llvm/utils')
-rwxr-xr-xllvm/utils/NightlyTest.pl9
1 files changed, 7 insertions, 2 deletions
diff --git a/llvm/utils/NightlyTest.pl b/llvm/utils/NightlyTest.pl
index 26a380efb6b..cf1d1b9c7a0 100755
--- a/llvm/utils/NightlyTest.pl
+++ b/llvm/utils/NightlyTest.pl
@@ -180,7 +180,7 @@ if ($VERBOSE) {
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 @@ sub GetQMTestResults { # (filename)
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,$_);
}
}
OpenPOWER on IntegriCloud