diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-06-26 22:33:28 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-06-26 22:33:28 +0000 |
commit | 2d83134ca603d5e834895232454b56dafbd4131c (patch) | |
tree | b0a339cfc9f6afee966523c0b5bcd941a9c34f02 /llvm/utils/NewNightlyTest.pl | |
parent | ab5354747e21a224c2c72dc88f74988328ddafc9 (diff) | |
download | bcm5719-llvm-2d83134ca603d5e834895232454b56dafbd4131c.tar.gz bcm5719-llvm-2d83134ca603d5e834895232454b56dafbd4131c.zip |
NewNightlyTest.pl: Support -submit-aux with -no-submit (run that aux script,
instead of skipping).
llvm-svn: 74341
Diffstat (limited to 'llvm/utils/NewNightlyTest.pl')
-rwxr-xr-x | llvm/utils/NewNightlyTest.pl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/utils/NewNightlyTest.pl b/llvm/utils/NewNightlyTest.pl index 40e8b39a0c0..c005bcbfb1e 100755 --- a/llvm/utils/NewNightlyTest.pl +++ b/llvm/utils/NewNightlyTest.pl @@ -504,7 +504,11 @@ sub SendData{ WriteFile "$Prefix-sentdata.txt", $sentdata; if (!($SUBMITAUX eq "")) { - system "$SUBMITAUX \"$Prefix-sentdata.txt\""; + system "$SUBMITAUX \"$Prefix-sentdata.txt\""; + } + + if (!$SUBMIT) { + return "Skipped standard submit.\n"; } # Create the content to send to the server. @@ -1129,7 +1133,7 @@ my %hash_of_data = ( 'target_triple' => $targetTriple ); -if ($SUBMIT) { +if ($SUBMIT || !($SUBMITAUX eq "")) { my $response = SendData $SUBMITSERVER,$SUBMITSCRIPT,\%hash_of_data; if( $VERBOSE) { print "============================\n$response"; } } else { |