mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Compress large logs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5414 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4767e01a4e
commit
5d6c438d2f
@ -268,8 +268,12 @@ my $RemovedFilesList = AddPreTag join "\n", keys %RemovedFiles;
|
||||
chdir "test/Programs" or die "Could not change into programs testdir!";
|
||||
|
||||
# Run the programs tests... creating a report.nightly.html file
|
||||
system "gmake $MAKEOPTS report.nightly.html TEST=nightly "
|
||||
. "> $Prefix-ProgramTest.txt 2>&1" if (!$NOTEST);
|
||||
if (!$NOTEST) {
|
||||
system "gmake $MAKEOPTS report.nightly.html TEST=nightly "
|
||||
. "> $Prefix-ProgramTest.txt 2>&1";
|
||||
} else {
|
||||
system "gunzip $Prefix-ProgramTest.txt.gz";
|
||||
}
|
||||
|
||||
my $ProgramsTable = ReadFile "report.nightly.html";
|
||||
|
||||
@ -279,6 +283,9 @@ my $ProgramsTable = ReadFile "report.nightly.html";
|
||||
system "grep -E 'TEST-(PASS|FAIL)' < $Prefix-ProgramTest.txt "
|
||||
. "| sort --key=3 > $Prefix-Tests.txt";
|
||||
|
||||
# Compress the test output
|
||||
system "gzip $Prefix-ProgramTest.txt";
|
||||
|
||||
my ($RTestsAdded, $RTestsRemoved) = DiffFiles "-Tests.txt";
|
||||
|
||||
my @RawTestsAddedArray = split '\n', $RTestsAdded;
|
||||
|
Loading…
Reference in New Issue
Block a user