[llvm-commits] CVS: nightlytest-serverside/NightlyTestAccept.cgi
Patrick Jenkins
pjenkins at apple.com
Wed Jul 26 10:46:01 PDT 2006
Changes in directory nightlytest-serverside:
NightlyTestAccept.cgi updated: 1.30 -> 1.31
---
Log message:
Added a check so that if the previous nights build failed, all of the tests wont be reported as newly passing
---
Diffs of the changes: (+16 -4)
NightlyTestAccept.cgi | 20 ++++++++++++++++----
1 files changed, 16 insertions(+), 4 deletions(-)
Index: nightlytest-serverside/NightlyTestAccept.cgi
diff -u nightlytest-serverside/NightlyTestAccept.cgi:1.30 nightlytest-serverside/NightlyTestAccept.cgi:1.31
--- nightlytest-serverside/NightlyTestAccept.cgi:1.30 Tue Jul 25 19:15:04 2006
+++ nightlytest-serverside/NightlyTestAccept.cgi Wed Jul 26 12:45:48 2006
@@ -561,11 +561,23 @@
$yesterdays_passes = $row->{'passing_tests'};
$yesterdays_fails = $row->{'unexpfail_tests'};
$yesterdays_xfails = $row->{'expfail_tests'};
-$newly_passing_tests = Difference $passing_tests, $yesterdays_passes;
-$newly_failing_tests = Difference $expfail_tests."\n".$unexpfail_tests,
+if($yesterdays_passes ne ""){
+ $newly_passing_tests = Difference $passing_tests, $yesterdays_passes;
+}
+else{ $newly_passing_tests=""; }
+if($yesterdays_xfails ne "" and $yesterdays_fails ne ""){
+ $newly_failing_tests = Difference $expfail_tests."\n".$unexpfail_tests,
$yesterdays_xfails."\n".$yesterdays_fails;
-$new_tests = Difference $all_tests, $yesterdays_tests;
-$removed_tests = Difference $yesterdays_tests, $all_tests;
+}
+else{ $newly_failing_tests=""; }
+if($yesterdays_tests ne ""){
+ $new_tests = Difference $all_tests, $yesterdays_tests;
+}
+else{ $new_tests=""; }
+if($all_tests ne ""){
+ $removed_tests = Difference $yesterdays_tests, $all_tests;
+}
+else{ $removed_tests=""; }
#$db_date = $date." ".$time;
$db_date = `date "+20%y-%m-%d %H:%M:%S"`;
More information about the llvm-commits
mailing list