diff options
author | Patrick Jenkins <pjenkins@apple.com> | 2006-07-18 17:21:30 +0000 |
---|---|---|
committer | Patrick Jenkins <pjenkins@apple.com> | 2006-07-18 17:21:30 +0000 |
commit | f2637043217fa508acda845475fdaa1f5e512b75 (patch) | |
tree | a515b4ac9b7482ed384edff03fc74c122d833c73 | |
parent | bdff5f95b9cda9a6d24104201fa53204bd0c5a75 (diff) |
Minor output changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29178 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/NewNightlyTest.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index bf404ef063..4549acd5b2 100755 --- a/utils/NewNightlyTest.pl +++ b/utils/NewNightlyTest.pl @@ -144,6 +144,7 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) { $GCCPATH=$ARGV[0]; shift; next;} + else{ $GCCPATH=""; } if (/^-cvstag/) { $CVSCOOPT .= " -r $ARGV[0]"; shift; next; } else{ $CVSCOOPT="";} if (/^-target/) { @@ -960,11 +961,13 @@ my $dejagnulog_full; @DEJAGNULOG_FULL = ReadFile "$DejagnuTestsLog"; $dejagnulog_full = join("\n", @DEJAGNULOG_FULL); -if($GCCPATH){ +if($GCCPATH ne ""){ my $gcc_version_long = `$GCCPATH/gcc --version`; + print "$GCCPATH/gcc --version\n"; } else{ my $gcc_version_long = `gcc --version`; + print "gcc --version\n"; } @GCC_VERSION = split "\n", $gcc_version_long; my $gcc_version = $GCC_VERSION[0]; |