From: Daniel Dunbar Date: Wed, 1 Jul 2009 14:52:59 +0000 (+0000) Subject: NewNightlyTest: Include minutes/seconds in log file names, to support running X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=42cdc3878ead86550277ce4d530db7ba66760784;p=oota-llvm.git NewNightlyTest: Include minutes/seconds in log file names, to support running multiple runs per day (insane, I know). Also, remove some unused variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74605 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index c005bcbfb1e..b4906504936 100755 --- a/utils/NewNightlyTest.pl +++ b/utils/NewNightlyTest.pl @@ -122,9 +122,7 @@ $LLVMTestDir = "$BuildDir/llvm/projects/llvm-test" unless $LLVMTestDir; # ############################################################## @TIME = localtime; -my $DATE = sprintf "%4d-%02d-%02d", $TIME[5]+1900, $TIME[4]+1, $TIME[3]; -my $DateString = strftime "%B %d, %Y", localtime; -my $TestStartTime = gmtime() . "GMT
" . localtime() . " (local)"; +my $DATE = sprintf "%4d-%02d-%02d_%02d-%02d", $TIME[5]+1900, $TIME[4]+1, $TIME[3], $TIME[1], $TIME[0]; ############################################################## #