Skip to content

Commit

Permalink
Fix minor bugs in the tester
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7943 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lattner committed Aug 18, 2003
1 parent bf6a4dc commit 00d7af6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/NightlyTest.pl
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ sub GetRegexNum {

my $ConfigTimeU = GetRegexNum "^user", 0, "([0-9.]+)", "$Prefix-Build-Log.txt";
my $ConfigTimeS = GetRegexNum "^sys", 0, "([0-9.]+)", "$Prefix-Build-Log.txt";
my $ConfigTime = $BuildTimeU+$BuildTimeS; # ConfigTime = User+System
my $ConfigTime = $ConfigTimeU+$ConfigTimeS; # ConfigTime = User+System
my $ConfigWallTime = GetRegexNum "^real", 0,"([0-9.]+)","$Prefix-Build-Log.txt";

my $BuildTimeU = GetRegexNum "^user", 1, "([0-9.]+)", "$Prefix-Build-Log.txt";
Expand Down Expand Up @@ -313,7 +313,7 @@ sub TestDirectory {
if ($BuildError eq "") {
$SingleSourceProgramsTable = TestDirectory("SingleSource");
$MultiSourceProgramsTable = TestDirectory("MultiSource");
system "cat $Prefix-SingleSource-Tests.txt $Prefix-MultiSource-Tests.txt > $Prefix-$SubDir-Tests.txt";
system "cat $Prefix-SingleSource-Tests.txt $Prefix-MultiSource-Tests.txt > $Prefix-Tests.txt";
}

my ($TestsAdded, $TestsRemoved, $TestsFixed, $TestsBroken) = ("","","","");
Expand Down

0 comments on commit 00d7af6

Please sign in to comment.