summaryrefslogtreecommitdiffstats
path: root/llvm/utils/NewNightlyTest.pl
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-26 22:33:28 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-26 22:33:28 +0000
commit2d83134ca603d5e834895232454b56dafbd4131c (patch)
treeb0a339cfc9f6afee966523c0b5bcd941a9c34f02 /llvm/utils/NewNightlyTest.pl
parentab5354747e21a224c2c72dc88f74988328ddafc9 (diff)
downloadbcm5719-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-xllvm/utils/NewNightlyTest.pl8
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 {
OpenPOWER on IntegriCloud