forked from OSchip/llvm-project
Added a check to skip dejagnu test results gathering if we did not run dejagnu tests
llvm-svn: 29252
This commit is contained in:
parent
7ef934f6ab
commit
3b606ccc94
|
@ -832,13 +832,14 @@ if (!$BuildError && $patrickjenkins) {
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
##############################################################
|
##############################################################
|
||||||
$dejagnu = ReadFile $DejagnuSum;
|
my $dejagnu = ReadFile $DejagnuSum;
|
||||||
@DEJAGNU = split "\n", $dejagnu;
|
my @DEJAGNU = split "\n", $dejagnu;
|
||||||
|
|
||||||
my $passes="",
|
my $passes="",
|
||||||
my $fails="";
|
my $fails="";
|
||||||
my $xfails="";
|
my $xfails="";
|
||||||
|
|
||||||
|
if(!$NODEJAGNU) {
|
||||||
for($x=0; $x<@DEJAGNU; $x++){
|
for($x=0; $x<@DEJAGNU; $x++){
|
||||||
if($DEJAGNU[$x] =~ m/^PASS:/){
|
if($DEJAGNU[$x] =~ m/^PASS:/){
|
||||||
$passes.="$DEJAGNU[$x]\n";
|
$passes.="$DEJAGNU[$x]\n";
|
||||||
|
@ -850,6 +851,7 @@ for($x=0; $x<@DEJAGNU; $x++){
|
||||||
$xfails.="$DEJAGNU[$x]\n";
|
$xfails.="$DEJAGNU[$x]\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# my ($TestsAdded, $TestsRemoved, $TestsFixed, $TestsBroken) = ("","","","");
|
# my ($TestsAdded, $TestsRemoved, $TestsFixed, $TestsBroken) = ("","","","");
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue