[llvm-commits] CVS: nightlytest-serverside/NightlyTestAccept.cgi
Patrick Jenkins
pjenkins at apple.com
Wed Jul 26 18:23:05 PDT 2006
Changes in directory nightlytest-serverside:
NightlyTestAccept.cgi updated: 1.33 -> 1.34
---
Log message:
Some more formatting changes to the nightly test results email. This time we dont print test changes if build fail and instead link to the build log.
---
Diffs of the changes: (+17 -8)
NightlyTestAccept.cgi | 25 +++++++++++++++++--------
1 files changed, 17 insertions(+), 8 deletions(-)
Index: nightlytest-serverside/NightlyTestAccept.cgi
diff -u nightlytest-serverside/NightlyTestAccept.cgi:1.33 nightlytest-serverside/NightlyTestAccept.cgi:1.34
--- nightlytest-serverside/NightlyTestAccept.cgi:1.33 Wed Jul 26 19:42:06 2006
+++ nightlytest-serverside/NightlyTestAccept.cgi Wed Jul 26 20:22:51 2006
@@ -677,14 +677,23 @@
$email .= "Name: $name\n";
$email .= "Nickname: $nickname\n";
$email .= "Buildstatus: $buildstatus\n";
-$newly_passing_tests="None" unless $newly_passing_tests ne "";
-$email .= "\nNew Test Passes:\n$newly_passing_tests\n";
-$newly_failing_tests="None" unless $newly_failing_tests ne "";
-$email .= "\nNew Test Failures:\n$newly_failing_tests\n";
-$newtests="None" unless $new_tests ne "";
-$email .= "\nAdded Tests:\n$new_tests\n";
-$removed_tests="None" unless $removed_tests ne "";
-$email .= "\nRemoved Tests:\n$removed_tests\n";
+
+if($buildstatus eq "OK"){
+ $newly_passing_tests="None" unless $newly_passing_tests ne "";
+ $email .= "\nNew Test Passes:\n$newly_passing_tests\n";
+ $newly_failing_tests="None" unless $newly_failing_tests ne "";
+ $email .= "\nNew Test Failures:\n$newly_failing_tests\n";
+ $new_tests="None" unless $new_tests ne "";
+ $email .= "\nAdded Tests:\n$new_tests\n";
+ $removed_tests="None" unless $removed_tests ne "";
+ $email .= "\nRemoved Tests:\n$removed_tests\n";
+}
+else{
+ $temp_date = $db_date;
+ $temp_date =~s/ /\_/g;
+ $email .= "\nBuildlog available at http://llvm.org/nightlytest/".
+ "machines/$machine_id/$temp_date-Build-Log.txt";
+}
$email_addr = "llvm-testresults\@cs.uiuc.edu";
`echo "$email" | mail -s '$nickname $hardware nightly tester results' $email_addr`;
More information about the llvm-commits
mailing list