aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorPatrick Jenkins <pjenkins@apple.com>2006-07-21 21:58:06 +0000
committerPatrick Jenkins <pjenkins@apple.com>2006-07-21 21:58:06 +0000
commit25c2a2f57052bcfd549701f6af88c491b0434682 (patch)
tree945dc9997414d59fa11ab31176b7849426344257 /utils
parentb67e118545665de68a1706a63613e3ebf516e60e (diff)
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
Diffstat (limited to 'utils')
-rwxr-xr-xutils/NewNightlyTest.pl24
1 files changed, 13 insertions, 11 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl
index 1080685edc..eb4fc50d1c 100755
--- a/utils/NewNightlyTest.pl
+++ b/utils/NewNightlyTest.pl
@@ -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";
+ }
}
}