[llvm-commits] CVS: nightlytest-serverside/NightlyTestAccept.php
Jim Laskey
jlaskey at apple.com
Thu Sep 14 04:53:45 PDT 2006
Changes in directory nightlytest-serverside:
NightlyTestAccept.php updated: 1.14 -> 1.15
---
Log message:
testing #13
---
Diffs of the changes: (+7 -10)
NightlyTestAccept.php | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)
Index: nightlytest-serverside/NightlyTestAccept.php
diff -u nightlytest-serverside/NightlyTestAccept.php:1.14 nightlytest-serverside/NightlyTestAccept.php:1.15
--- nightlytest-serverside/NightlyTestAccept.php:1.14 Thu Sep 14 06:50:23 2006
+++ nightlytest-serverside/NightlyTestAccept.php Thu Sep 14 06:53:31 2006
@@ -132,10 +132,10 @@
strcmp($row['os'], $os) == 0 &&
strcmp($row['nickname'], $nickname) == 0 &&
strcmp($row['gcc'], $gcc_version) == 0) {
- return 1;
+ return true;
}
- return 0;
+ return false;
}
/*******************************************************************************
@@ -163,7 +163,6 @@
$query = "INSERT INTO machine (uname, hardware, os, name, nickname, gcc, directory) " .
"VALUES (\"$uname\",\"$hardware\",\"$os\",\"$name\",\"$nickname\",\"$gcc_version\",\"$directory\")";
$insert_query = mysql_query($query) or die(mysql_error());
- print "AddMachine: $insert_query\n";
mysql_free_result($insert_query);
}
@@ -632,18 +631,16 @@
* creating the response
*
*******************************************************************************/
-if ($print_debug) {
- print "About To DoesMachineExist\n";
-}
-
if (!DoesMachineExist($uname, $hardware, $os, $name, $nickname, $gcc_version)) {
+print "Before AddMachine\n";
AddMachine($uname, $hardware, $os, $name, $nickname, $gcc_version, "test");
+print "After AddMachine\n";
}
+print "Before GetMachineId\n";
$machine_id = GetMachineId($uname, $hardware, $os, $name, $nickname, $gcc_version);
+print "After GetMachineId\n";
-if ($print_debug) {
- print "machine_id: $machine_id\n";
-}
+print "machine_id: $machine_id\n";
/*******************************************************************************
*
More information about the llvm-commits
mailing list