[llvm-commits] CVS: llvm/utils/NewNightlyTest.pl

Patrick Jenkins pjenkins at apple.com
Fri Aug 4 10:41:09 PDT 2006



Changes in directory llvm/utils:

NewNightlyTest.pl updated: 1.39 -> 1.40
---
Log message:

We should now send the correct list of dejagnu tests instead of the csv file of test results when we submit results back to the nightly tester.


---
Diffs of the changes:  (+5 -1)

 NewNightlyTest.pl |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)


Index: llvm/utils/NewNightlyTest.pl
diff -u llvm/utils/NewNightlyTest.pl:1.39 llvm/utils/NewNightlyTest.pl:1.40
--- llvm/utils/NewNightlyTest.pl:1.39	Thu Aug  3 11:28:58 2006
+++ llvm/utils/NewNightlyTest.pl	Fri Aug  4 12:40:54 2006
@@ -877,6 +877,7 @@
 ##############################################################
 my $dejagnu = ReadFile $DejagnuSum;
 my @DEJAGNU = split "\n", $dejagnu;
+my $dejagnu_test_list="";
 
 my $passes="",
 my $fails="";
@@ -886,12 +887,15 @@
 	for($x=0; $x<@DEJAGNU; $x++){
 		if($DEJAGNU[$x] =~ m/^PASS:/){
 			$passes.="$DEJAGNU[$x]\n";
+			$dejagnu_test_list="$DEJAGNU[$x]\n";
 		}
 		elsif($DEJAGNU[$x] =~ m/^FAIL:/){
 			$fails.="$DEJAGNU[$x]\n";
+			$dejagnu_test_list="$DEJAGNU[$x]\n";
 		}
 		elsif($DEJAGNU[$x] =~ m/^XFAIL:/){
 			$xfails.="$DEJAGNU[$x]\n";
+			$dejagnu_test_list="$DEJAGNU[$x]\n";
 		}
 	}
 }
@@ -1025,7 +1029,7 @@
 	'passing_tests' => $passes,
 	'expfail_tests' => $xfails,
 	'unexpfail_tests' => $fails,
-	'all_tests' => $all_tests,
+	'all_tests' => $dejagnu_test_list,
 	'new_tests' => "",
 	'removed_tests' => "",
 	'dejagnutests_log' => $dejagnutests_log,






More information about the llvm-commits mailing list