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

Patrick Jenkins pjenkins at apple.com
Mon Jul 17 12:02:59 PDT 2006



Changes in directory nightlytest-serverside:

NightlyTestAccept.cgi updated: 1.13 -> 1.14
---
Log message:

Changed the email portion to output a file, then pipe that file to mail, then remove the file. Hopefully this hack will allow mail to be sent.


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

 NightlyTestAccept.cgi |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Index: nightlytest-serverside/NightlyTestAccept.cgi
diff -u nightlytest-serverside/NightlyTestAccept.cgi:1.13 nightlytest-serverside/NightlyTestAccept.cgi:1.14
--- nightlytest-serverside/NightlyTestAccept.cgi:1.13	Fri Jul 14 16:13:25 2006
+++ nightlytest-serverside/NightlyTestAccept.cgi	Mon Jul 17 14:02:46 2006
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+7#!/usr/bin/perl -w
 #
 # Background: Written on June 1st 2006 by Patrick Jenkins <pjenkins at apple.com> to accept test results 
 #             from the llvm NightlyTest.pl script. It is just a CGI script that takes input by the
@@ -484,5 +484,7 @@
 
 $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_addr = "llvm-testresults\@cs.uiuc.edu";
-`mail -s '$nickname $hardware nightly tester results' $email_addr < $email`;
+`mail -s '$nickname $hardware nightly tester results' $email_addr < email.txt`;
+`rm -f email.txt;`






More information about the llvm-commits mailing list