diff options
author | Chris Lattner <sabre@nondot.org> | 2005-02-13 16:08:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-02-13 16:08:30 +0000 |
commit | 004e19e38d810c3146c77b68a9274210ee008b1d (patch) | |
tree | 8de4c9fce7f892df1e9bf46f0bb3c5fcaaa4729c | |
parent | 50c301b9bbf80c00d26e49129a2a5d02132b9b2b (diff) | |
download | external_llvm-004e19e38d810c3146c77b68a9274210ee008b1d.zip external_llvm-004e19e38d810c3146c77b68a9274210ee008b1d.tar.gz external_llvm-004e19e38d810c3146c77b68a9274210ee008b1d.tar.bz2 |
Include local time on the web page for start/end times.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20150 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/NightlyTest.pl | 5 | ||||
-rw-r--r-- | utils/NightlyTestTemplate.html | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl index 36a8556..9bbbf49 100755 --- a/utils/NightlyTest.pl +++ b/utils/NightlyTest.pl @@ -66,7 +66,7 @@ my $WebDir = $ENV{'WEBDIR'}; @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; +my $TestStartTime = gmtime() . "GMT<br>" . localtime() . " (local)"; # Command line argument settings... my $NOCHECKOUT = 0; @@ -798,7 +798,8 @@ if ( $VERBOSE ) { } # Main HTML file... my $Output; -my $TestFinishTime = gmtime; +my $TestFinishTime = gmtime() . " GMT<br>" . localtime() . " (local)"; + my $TestPlatform = `uname -a`; eval "\$Output = <<ENDOFFILE;$TemplateContents\nENDOFFILE\n"; WriteFile "$DATE.html", $Output; diff --git a/utils/NightlyTestTemplate.html b/utils/NightlyTestTemplate.html index 43ce137..df6b743 100644 --- a/utils/NightlyTestTemplate.html +++ b/utils/NightlyTestTemplate.html @@ -53,8 +53,8 @@ <h2>Nightly Test Overview:</h2> <ul> - <li>Start: <b>$TestStartTime GMT</b></li> - <li>Finish: <b>$TestFinishTime GMT</b></li> + <li>Start: <b>$TestStartTime</b></li> + <li>Finish: <b>$TestFinishTime</b></li> <li>Platform: <b>$TestPlatform</b></li> </ul> <h2>CVS Tree Overview:</h2> |