aboutsummaryrefslogtreecommitdiffstats
path: root/utils/NewNightlyTest.pl
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
commit1b54d423aaa941f0dedb0fbca91f4e35131e94de (patch)
treeb35c2a394ccc99817886801c00a0ee274da44bef /utils/NewNightlyTest.pl
parente2f65ee4b17c775f1ea6d44039021dd4750f3322 (diff)
downloadexternal_llvm-1b54d423aaa941f0dedb0fbca91f4e35131e94de.zip
external_llvm-1b54d423aaa941f0dedb0fbca91f4e35131e94de.tar.gz
external_llvm-1b54d423aaa941f0dedb0fbca91f4e35131e94de.tar.bz2
NNT: Always create the -sentdata.txt file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91301 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/NewNightlyTest.pl')
-rwxr-xr-xutils/NewNightlyTest.pl15
1 files changed, 11 insertions, 4 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl
index a8cf8de..1b71468 100755
--- a/utils/NewNightlyTest.pl
+++ b/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"; }