diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-08-18 20:07:54 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-08-18 20:07:54 +0000 |
| commit | 3c81d9ac54fbc6a6c59c0d451190b9f43a4f41ee (patch) | |
| tree | 3025b68e315c2d414f83f4bf84b7ac001bc4c599 /llvm/utils/NightlyTest.pl | |
| parent | b3b70f982ecfe79552409977f7e0c952bd9d0c86 (diff) | |
| download | bcm5719-llvm-3c81d9ac54fbc6a6c59c0d451190b9f43a4f41ee.tar.gz bcm5719-llvm-3c81d9ac54fbc6a6c59c0d451190b9f43a4f41ee.zip | |
Add the magic incantations to get a running LOC graph updated each night...
llvm-svn: 7957
Diffstat (limited to 'llvm/utils/NightlyTest.pl')
| -rwxr-xr-x | llvm/utils/NightlyTest.pl | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/llvm/utils/NightlyTest.pl b/llvm/utils/NightlyTest.pl index 0904dcf0c19..eb86dc228bc 100755 --- a/llvm/utils/NightlyTest.pl +++ b/llvm/utils/NightlyTest.pl @@ -366,14 +366,28 @@ splice @PrevDays, 20; # Trim down list to something reasonable... my $PrevDaysList = # Format list for sidebar join "\n ", map { "<a href=\"$_.html\">$_</a><br>" } @PrevDays; +# +# Start outputing files into the web directory +# +chdir $WebDir or die "Could not change into web directory!"; + +# Add information to the files which accumulate information for graphs... +AddRecord($LOC, "running_loc.txt"); +AddRecord($BuildTime, "running_build_time.txt"); + +# +# Rebuild the graphs now... +# +system "/usr/dcs/software/supported/bin/gnuplot " . + "$BuildDir/llvm/utils/NightlyTest.gnuplot"; # # Remove the cvs tree... # -chdir $WebDir or die "Could not change into web directory!"; system "rm -rf $BuildDir" if (!$NOCHECKOUT and !$NOREMOVE); + # # Print out information... # @@ -420,7 +434,3 @@ sub AddRecord { WriteFile $Filename, (join "\n", @Records) . "\n"; return @Records; } - -# Add information to the files which accumulate information for graphs... -AddRecord($LOC, "running_loc.txt"); -AddRecord($BuildTime, "running_build_time.txt"); |

