[llvm-commits] CVS: llvm/utils/NewNightlyTest.pl
Patrick Jenkins
pjenkins at apple.com
Fri Jul 21 14:58:18 PDT 2006
Changes in directory llvm/utils:
NewNightlyTest.pl updated: 1.22 -> 1.23
---
Log message:
Added a check to skip dejagnu test results gathering if we did not run dejagnu tests
---
Diffs of the changes: (+13 -11)
NewNightlyTest.pl | 24 +++++++++++++-----------
1 files changed, 13 insertions(+), 11 deletions(-)
Index: llvm/utils/NewNightlyTest.pl
diff -u llvm/utils/NewNightlyTest.pl:1.22 llvm/utils/NewNightlyTest.pl:1.23
--- llvm/utils/NewNightlyTest.pl:1.22 Fri Jul 21 16:43:09 2006
+++ llvm/utils/NewNightlyTest.pl Fri Jul 21 16:58:06 2006
@@ -832,22 +832,24 @@
#
#
##############################################################
-$dejagnu = ReadFile $DejagnuSum;
- at 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";
+ }
}
}
More information about the llvm-commits
mailing list