diff options
author | Patrick Jenkins <pjenkins@apple.com> | 2006-07-21 21:43:09 +0000 |
---|---|---|
committer | Patrick Jenkins <pjenkins@apple.com> | 2006-07-21 21:43:09 +0000 |
commit | b67e118545665de68a1706a63613e3ebf516e60e (patch) | |
tree | d2b43ed04cfa747bd317ab8968233def3cfcddbe /utils/NewNightlyTest.pl | |
parent | cd4317efcf334be10d9a98008a1445d6e12a7712 (diff) | |
download | external_llvm-b67e118545665de68a1706a63613e3ebf516e60e.zip external_llvm-b67e118545665de68a1706a63613e3ebf516e60e.tar.gz external_llvm-b67e118545665de68a1706a63613e3ebf516e60e.tar.bz2 |
Fixed an issue of variable scope that prevented file size from being submitted to the server.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29251 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/NewNightlyTest.pl')
-rwxr-xr-x | utils/NewNightlyTest.pl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index c45f1c0..1080685 100755 --- a/utils/NewNightlyTest.pl +++ b/utils/NewNightlyTest.pl @@ -1,5 +1,4 @@ #!/usr/bin/perl - use POSIX qw(strftime); use File::Copy; use Socket; @@ -455,7 +454,7 @@ sub SendData{ # Getting Start timestamp # ############################################################## -$starttime = `date`; +$starttime = `date "+20%y-%m-%d %H:%M:%S"`; ############################################################## # @@ -612,6 +611,8 @@ if (!$NOCHECKOUT && !$NOBUILD) { #my $NumLibraries = scalar(grep(!/executable/, @Linked)); #my $NumObjects = `grep ']\: Compiling ' $BuildLog | wc -l` + 0; +my $a_file_sizes=""; +my $o_file_sizes=""; if(!$BuildError){ ChangeDir( "$BuildDir", "Build Directory" ); $afiles = `find . -iname '*.a' -ls`; @@ -621,7 +622,8 @@ if(!$BuildError){ foreach $x (@AFILES){ $x =~ m/.+\s+.+\s+.+\s+.+\s+.+\s+.+\s+(.+)\s+.+\s+.+\s+.+\s+(.+)/; $a_file_sizes.="$1 $2\n"; - } @OFILES = split "\n", $ofiles; + } + @OFILES = split "\n", $ofiles; $o_file_sizes=""; foreach $x (@OFILES){ $x =~ m/.+\s+.+\s+.+\s+.+\s+.+\s+.+\s+(.+)\s+.+\s+.+\s+.+\s+(.+)/; @@ -960,7 +962,7 @@ if (!$BuildError) { # Getting end timestamp # ############################################################## -$endtime = `date`; +$endtime = `date "+20%y-%m-%d %H:%M:%S"`; ############################################################## |