summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-12-14 17:58:27 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-12-14 17:58:27 +0000
commit37e0439b17406bcad69958410f79374e428549d5 (patch)
treef71e29609d035cf5d6d4a4fe0d98963dcf7599a3 /llvm/utils
parent6ec5119b5f41025a82356d29767d1fba927c0b1e (diff)
downloadbcm5719-llvm-37e0439b17406bcad69958410f79374e428549d5.tar.gz
bcm5719-llvm-37e0439b17406bcad69958410f79374e428549d5.zip
NNT: Always create the -sentdata.txt file.
llvm-svn: 91301
Diffstat (limited to 'llvm/utils')
-rwxr-xr-xllvm/utils/NewNightlyTest.pl15
1 files changed, 11 insertions, 4 deletions
diff --git a/llvm/utils/NewNightlyTest.pl b/llvm/utils/NewNightlyTest.pl
index a8cf8de8681..1b71468863c 100755
--- a/llvm/utils/NewNightlyTest.pl
+++ b/llvm/utils/NewNightlyTest.pl
@@ -393,10 +393,8 @@ sub CopyFile { #filename, newfile
# to our central server via the post method
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-sub SendData {
- $host = $_[0];
- $file = $_[1];
- $variables = $_[2];
+sub WriteSentData {
+ $variables = $_[0];
# Write out the "...-sentdata.txt" file.
@@ -406,6 +404,12 @@ sub SendData {
$sentdata.= "$x => $value\n";
}
WriteFile "$Prefix-sentdata.txt", $sentdata;
+}
+
+sub SendData {
+ $host = $_[0];
+ $file = $_[1];
+ $variables = $_[2];
if (!($SUBMITAUX eq "")) {
system "$SUBMITAUX \"$Prefix-sentdata.txt\"";
@@ -797,6 +801,9 @@ my %hash_of_data = (
'a_file_sizes' => ""
);
+# Write out the "...-sentdata.txt" file.
+WriteSentData \%hash_of_data;
+
if ($SUBMIT || !($SUBMITAUX eq "")) {
my $response = SendData $SUBMITSERVER,$SUBMITSCRIPT,\%hash_of_data;
if( $VERBOSE) { print "============================\n$response"; }
OpenPOWER on IntegriCloud