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 | f7f02a9c7f833736aa4a22a6fd3606b9f118ad1f (patch) | |
tree | 18a6145cb23b6e3fdbad3d48d0dfc02c3728df1a /utils/NewNightlyTest.pl | |
parent | ff0d3392e07cb21c390c2b7872ae685634a18fc8 (diff) | |
download | llvm-f7f02a9c7f833736aa4a22a6fd3606b9f118ad1f.tar.gz llvm-f7f02a9c7f833736aa4a22a6fd3606b9f118ad1f.tar.bz2 llvm-f7f02a9c7f833736aa4a22a6fd3606b9f118ad1f.tar.xz |
NewNightlyTest.pl: Support -submit-aux with -no-submit (run that aux script,
instead of skipping).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74341 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/NewNightlyTest.pl')
-rwxr-xr-x | utils/NewNightlyTest.pl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index 40e8b39a0c..c005bcbfb1 100755 --- a/utils/NewNightlyTest.pl +++ b/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 { |