[llvm-commits] CVS: llvm/utils/NewNightlyTest.pl
Patrick Jenkins
pjenkins at apple.com
Fri Aug 4 10:55:17 PDT 2006
Changes in directory llvm/utils:
NewNightlyTest.pl updated: 1.41 -> 1.42
---
Log message:
Made some more changes to the print statements in the nightly tester. The last commit was a preemptive strike.
---
Diffs of the changes: (+7 -10)
NewNightlyTest.pl | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)
Index: llvm/utils/NewNightlyTest.pl
diff -u llvm/utils/NewNightlyTest.pl:1.41 llvm/utils/NewNightlyTest.pl:1.42
--- llvm/utils/NewNightlyTest.pl:1.41 Fri Aug 4 12:53:27 2006
+++ llvm/utils/NewNightlyTest.pl Fri Aug 4 12:55:01 2006
@@ -665,7 +665,7 @@
`grep '^$MAKECMD: \*\*\*.*Stop.' $BuildLog | wc -l`+0) {
$BuildStatus = "Error: compilation aborted";
$BuildError = 1;
- print "\n***ERROR BUILDING TREE\n\n";
+ if( $VERBOSE) { print "\n***ERROR BUILDING TREE\n\n"; }
}
if ($BuildError) { $NODEJAGNU=1; }
@@ -750,10 +750,6 @@
$DejagnuTime = "0.0" unless $DejagnuTime;
$DejagnuWallTime = "0.0" unless $DejagnuWallTime;
-if ($DEBUG) {
- print $DejagnuTestResults;
-}
-
##############################################################
#
# Get warnings from the build
@@ -808,8 +804,10 @@
# Run the programs tests... creating a report.nightly.csv file
if (!$NOTEST) {
- print "$MAKECMD -k $MAKEOPTS $PROGTESTOPTS report.nightly.csv ".
- "TEST=nightly > $ProgramTestLog 2>&1\n";
+ if( $VERBOSE) {
+ print "$MAKECMD -k $MAKEOPTS $PROGTESTOPTS report.nightly.csv ".
+ "TEST=nightly > $ProgramTestLog 2>&1\n";
+ }
system "$MAKECMD -k $MAKEOPTS $PROGTESTOPTS report.nightly.csv ".
"TEST=nightly > $ProgramTestLog 2>&1";
$llcbeta_options=`$MAKECMD print-llcbeta-option`;
@@ -840,7 +838,7 @@
if (!$BuildError) {
if ( $VERBOSE ) {
- print "SingleSource TEST STAGE\n";
+ print "SingleSource TEST STAGE\n";
}
($SingleSourceProgramsTable, $llcbeta_options) = TestDirectory("SingleSource");
WriteFile "$Prefix-singlesourceprogramstable.txt", $SingleSourceProgramsTable;
@@ -977,7 +975,6 @@
my $gcc_version_long="";
if($GCCPATH ne ""){
$gcc_version_long = `$GCCPATH/gcc --version`;
- print "$GCCPATH/gcc --version\n";
}
else{
$gcc_version_long = `gcc --version`;
@@ -1049,7 +1046,7 @@
}
else{
my $response = SendData $host,$file,\%hash_of_data;
- print "============================\n$response";
+ if( $VERBOSE) { print "============================\n$response"; }
}
##############################################################
More information about the llvm-commits
mailing list