Fixed a bug that looked for -Warnings.txt and -Tests.txt in ridiculous places.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29027 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Patrick Jenkins 2006-07-06 22:32:15 +00:00
parent 0300f3e712
commit c6d945f91f

View File

@ -697,7 +697,7 @@ $WarningsFile =~ s/:[0-9]+:/::/g;
# Emit the warnings file, so we can diff... # Emit the warnings file, so we can diff...
WriteFile "$WebDir/$DATE-Warnings.txt", $WarningsFile . "\n"; WriteFile "$WebDir/$DATE-Warnings.txt", $WarningsFile . "\n";
my ($WarningsAdded, $WarningsRemoved) = DiffFiles "$Prefix-Warnings.txt"; my ($WarningsAdded, $WarningsRemoved) = DiffFiles "-Warnings.txt";
# Output something to stdout if something has changed # Output something to stdout if something has changed
#print "ADDED WARNINGS:\n$WarningsAdded\n\n" if (length $WarningsAdded); #print "ADDED WARNINGS:\n$WarningsAdded\n\n" if (length $WarningsAdded);
@ -812,7 +812,7 @@ if ($TestError) {
$TestsFixed = "<b>error testing</b><br>"; $TestsFixed = "<b>error testing</b><br>";
$TestsBroken = "<b>error testing</b><br>"; $TestsBroken = "<b>error testing</b><br>";
} else { } else {
my ($RTestsAdded, $RTestsRemoved) = DiffFiles "$Prefix-Tests.txt"; my ($RTestsAdded, $RTestsRemoved) = DiffFiles "-Tests.txt";
my @RawTestsAddedArray = split '\n', $RTestsAdded; my @RawTestsAddedArray = split '\n', $RTestsAdded;
my @RawTestsRemovedArray = split '\n', $RTestsRemoved; my @RawTestsRemovedArray = split '\n', $RTestsRemoved;