[llvm-commits] CVS: nightlytest-serverside/NightlyTestAccept.cgi

Patrick Jenkins pjenkins at apple.com
Tue Jul 18 10:13:57 PDT 2006



Changes in directory nightlytest-serverside:

NightlyTestAccept.cgi updated: 1.17 -> 1.18
---
Log message:

Changed the email code to pipe the message of the email to mail instead of creating a file and then redirecting the the input.


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

 NightlyTestAccept.cgi |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)


Index: nightlytest-serverside/NightlyTestAccept.cgi
diff -u nightlytest-serverside/NightlyTestAccept.cgi:1.17 nightlytest-serverside/NightlyTestAccept.cgi:1.18
--- nightlytest-serverside/NightlyTestAccept.cgi:1.17	Mon Jul 17 16:51:02 2006
+++ nightlytest-serverside/NightlyTestAccept.cgi	Tue Jul 18 12:13:44 2006
@@ -451,12 +451,11 @@
 #
 ######################################################################################################
 
-$email = "$machine_data\n\n$dejagnutests_log\n\ncvs user commit list:\n$cvsusercommitlist\n\ncvs user ".
-          "update list:\n$cvsuserupdatelist\n\ncvs changed files:\n$cvsmodifiedfiles\n";
-WriteFile "email.txt", $email;
+$email = "$machine_data\n\nBuild Status: $buildstatus\n\ncvs user commit list:\n".
+         "$cvsusercommitlist\n\ncvs user ".
+         "update list:\n$cvsuserupdatelist\n\ncvs changed files:\n$cvsmodifiedfiles\n";
 $email_addr = "llvm-testresults\@cs.uiuc.edu";
-`mail -s '$nickname $hardware nightly tester results' $email_addr < email.txt`;
-`rm -f email.txt`;
+`echo "$email" | mail -s '$nickname $hardware nightly tester results' $email_addr`;
 
 ######################################################################################################
 #






More information about the llvm-commits mailing list