mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
Fix minor bugs in the tester
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7943 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -174,7 +174,7 @@ my $NumObjects = `grep '^Compiling' $Prefix-Build-Log.txt | wc -l` + 0;
|
|||||||
|
|
||||||
my $ConfigTimeU = GetRegexNum "^user", 0, "([0-9.]+)", "$Prefix-Build-Log.txt";
|
my $ConfigTimeU = GetRegexNum "^user", 0, "([0-9.]+)", "$Prefix-Build-Log.txt";
|
||||||
my $ConfigTimeS = GetRegexNum "^sys", 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 $ConfigWallTime = GetRegexNum "^real", 0,"([0-9.]+)","$Prefix-Build-Log.txt";
|
||||||
|
|
||||||
my $BuildTimeU = GetRegexNum "^user", 1, "([0-9.]+)", "$Prefix-Build-Log.txt";
|
my $BuildTimeU = GetRegexNum "^user", 1, "([0-9.]+)", "$Prefix-Build-Log.txt";
|
||||||
@ -313,7 +313,7 @@ sub TestDirectory {
|
|||||||
if ($BuildError eq "") {
|
if ($BuildError eq "") {
|
||||||
$SingleSourceProgramsTable = TestDirectory("SingleSource");
|
$SingleSourceProgramsTable = TestDirectory("SingleSource");
|
||||||
$MultiSourceProgramsTable = TestDirectory("MultiSource");
|
$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) = ("","","","");
|
my ($TestsAdded, $TestsRemoved, $TestsFixed, $TestsBroken) = ("","","","");
|
||||||
|
Reference in New Issue
Block a user