[llvm-commits] CVS: nightlytest-serverside/NightlyTestAccept.php
Jim Laskey
jlaskey at apple.com
Thu Sep 14 03:50:20 PDT 2006
Changes in directory nightlytest-serverside:
NightlyTestAccept.php updated: 1.2 -> 1.3
---
Log message:
testing #2
---
Diffs of the changes: (+45 -2)
NightlyTestAccept.php | 47 +++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 45 insertions(+), 2 deletions(-)
Index: nightlytest-serverside/NightlyTestAccept.php
diff -u nightlytest-serverside/NightlyTestAccept.php:1.2 nightlytest-serverside/NightlyTestAccept.php:1.3
--- nightlytest-serverside/NightlyTestAccept.php:1.2 Thu Sep 14 05:31:12 2006
+++ nightlytest-serverside/NightlyTestAccept.php Thu Sep 14 05:50:06 2006
@@ -7,6 +7,51 @@
* ProgramResults.php
*
*******************************************************************************/
+
+/*******************************************************************************
+ *
+ * Start response early for debugging purposes
+ *
+ *******************************************************************************/
+print "content-type: text/text\r\n\r\n";
+
+$print_env = 1;
+
+if ($print_env) {
+ foreach ($_ENV as $key => $value) {
+ print "_ENV $key => $value<br>\n";
+ }
+
+ foreach ($_SERVER as $key => $value) {
+ print "_SERVER $key => $value<br>\n";
+ }
+
+ foreach ($_GET as $key => $value) {
+ print "_GET $key => $value<br>\n";
+ }
+
+ foreach ($_POST as $key => $value) {
+ print "_POST $key => $value<br>\n";
+ }
+
+ foreach ($_COOKIE as $key => $value) {
+ print "_COOKIE $key => $value<br>\n";
+ }
+
+ foreach ($_FILES as $key => $value) {
+ print "_FILES $key => $value<br>\n";
+ }
+
+ foreach ($_REQUEST as $key => $value) {
+ print "_REQUEST $key => $value<br>\n";
+ }
+}
+
+/*******************************************************************************
+ *
+ * Include support code
+ *
+ *******************************************************************************/
if(!(include "NightlyTester.php")){
print "Error: could not load necessary files!\n";
@@ -538,8 +583,6 @@
* creating the response
*
*******************************************************************************/
-print "content-type: text/text\r\n\r\n";
-
if (!DoesMachineExist($uname, $hardware, $os, $name, $nickname, $gcc_version)) {
AddMachine($uname, $hardware, $os, $name, $nickname, $gcc_version, "test");
}
More information about the llvm-commits
mailing list