mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
Added a check to skip dejagnu test results gathering if we did not run dejagnu tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29252 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b67e118545
commit
25c2a2f570
@ -832,22 +832,24 @@ if (!$BuildError && $patrickjenkins) {
|
||||
#
|
||||
#
|
||||
##############################################################
|
||||
$dejagnu = ReadFile $DejagnuSum;
|
||||
@DEJAGNU = split "\n", $dejagnu;
|
||||
my $dejagnu = ReadFile $DejagnuSum;
|
||||
my @DEJAGNU = split "\n", $dejagnu;
|
||||
|
||||
my $passes="",
|
||||
my $fails="";
|
||||
my $xfails="";
|
||||
|
||||
for($x=0; $x<@DEJAGNU; $x++){
|
||||
if($DEJAGNU[$x] =~ m/^PASS:/){
|
||||
$passes.="$DEJAGNU[$x]\n";
|
||||
}
|
||||
elsif($DEJAGNU[$x] =~ m/^FAIL:/){
|
||||
$fails.="$DEJAGNU[$x]\n";
|
||||
}
|
||||
elsif($DEJAGNU[$x] =~ m/^XFAIL:/){
|
||||
$xfails.="$DEJAGNU[$x]\n";
|
||||
if(!$NODEJAGNU) {
|
||||
for($x=0; $x<@DEJAGNU; $x++){
|
||||
if($DEJAGNU[$x] =~ m/^PASS:/){
|
||||
$passes.="$DEJAGNU[$x]\n";
|
||||
}
|
||||
elsif($DEJAGNU[$x] =~ m/^FAIL:/){
|
||||
$fails.="$DEJAGNU[$x]\n";
|
||||
}
|
||||
elsif($DEJAGNU[$x] =~ m/^XFAIL:/){
|
||||
$xfails.="$DEJAGNU[$x]\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user