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

Jim Laskey jlaskey at apple.com
Thu Sep 14 04:15:43 PDT 2006



Changes in directory nightlytest-serverside:

NightlyTestAccept.php updated: 1.6 -> 1.7
---
Log message:

testing #6

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

 NightlyTestAccept.php |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletion(-)


Index: nightlytest-serverside/NightlyTestAccept.php
diff -u nightlytest-serverside/NightlyTestAccept.php:1.6 nightlytest-serverside/NightlyTestAccept.php:1.7
--- nightlytest-serverside/NightlyTestAccept.php:1.6	Thu Sep 14 06:09:22 2006
+++ nightlytest-serverside/NightlyTestAccept.php	Thu Sep 14 06:15:29 2006
@@ -15,8 +15,13 @@
  *******************************************************************************/
 print "content-type: text/text\r\n\r\n";
 
-$print_env = 0;
 $print_debug = 1;
+$print_env = 0;
+
+
+if ($print_debug) {
+  print "Debug Printing On\n";
+}
 
 if ($print_env) {
   foreach ($_ENV as $key => $value) {
@@ -65,6 +70,10 @@
   die();
 }
 
+if ($print_debug) {
+  print "Support Included\n";
+}
+
 /*******************************************************************************
  *
  * Important variables
@@ -82,6 +91,10 @@
 $mysql_link = mysql_connect("127.0.0.1", $loginname, $password) or die("Error: could not connect to database!");
 mysql_select_db($database);
 
+if ($print_debug) {
+  print "Database connected\n";
+}
+
 /*******************************************************************************
  *
  * Some methods to help the process
@@ -451,6 +464,10 @@
  * Setting up variables
  *
  *******************************************************************************/
+if ($print_debug) {
+  print "Reading _POST Variables\n";
+}
+
 $spliton ="\n";
 
 $machine_data = $_POST['machine_data'];
@@ -548,6 +565,10 @@
 $warnings = $_POST['warnings'];            
 $lines_of_code = $_POST['lines_of_code'];
 
+if ($print_debug) {
+  print "Finished Reading _POST Variables\n";
+}
+
 /*******************************************************************************
  *
  * Extracting the machine information






More information about the llvm-commits mailing list