[llvm-commits] [nightly-test-server] r50127 - /nightly-test-server/trunk/AcceptTestResults.php
Tanya Lattner
tonic at nondot.org
Tue Apr 22 20:30:01 PDT 2008
Author: tbrethou
Date: Tue Apr 22 22:30:01 2008
New Revision: 50127
URL: http://llvm.org/viewvc/llvm-project?rev=50127&view=rev
Log:
Fix build logs and record the date added to the database.
Modified:
nightly-test-server/trunk/AcceptTestResults.php
Modified: nightly-test-server/trunk/AcceptTestResults.php
URL: http://llvm.org/viewvc/llvm-project/nightly-test-server/trunk/AcceptTestResults.php?rev=50127&r1=50126&r2=50127&view=diff
==============================================================================
--- nightly-test-server/trunk/AcceptTestResults.php (original)
+++ nightly-test-server/trunk/AcceptTestResults.php Tue Apr 22 22:30:01 2008
@@ -83,7 +83,7 @@
$warningsRemoved, $cvsUsersAdd, $cvsUsersCO,
$cvsFilesAdded, $cvsFilesRemoved, $cvsFilesModified,
$buildStatus, $dejagnuPASS, $dejagnuXPASS,
- $dejagnuFAIL, $dejagnuXFAIL) {
+ $dejagnuFAIL, $dejagnuXFAIL, $db_date) {
$sqlQuery = "INSERT into testRunInfo (runDateTime, machineId, machineUname," .
" gccVersion, cvsCpuTime, cvsWallTime, configureCpuTime," .
@@ -91,7 +91,7 @@
" dejagnuCpuTime, dejagnuWallTime, warnings, warningsAdded," .
" warningsRemoved, cvsUsersAdd, cvsUsersCO, cvsFilesAdded," .
" cvsFilesRemoved, cvsFilesModified, buildStatus, dejagnuPass," .
- " dejagnuFail, dejagnuXFail, dejagnuXPass) VALUES (".
+ " dejagnuFail, dejagnuXFail, dejagnuXPass, dateAdded) VALUES (".
" \"$runDateTime\", \"$machineId\", \"$machineUname\"," .
" \"$gccVersion\", \"$cvsCpuTime\", \"$cvsWallTime\"," .
" \"$configureCpuTime\", \"$configureWallTime\", \"$buildCpuTime\"," .
@@ -100,7 +100,7 @@
" \"$cvsUsersAdd\", \"$cvsUsersCO\", \"$cvsFilesAdded\"," .
" \"$cvsFilesRemoved\", \"$cvsFilesModified\", \"$buildStatus\"," .
" \"$dejagnuPASS\", \"$dejagnuFAIL\", \"$dejagnuXFAIL\"," .
- " \"$dejagnuXPASS\")";
+ " \"$dejagnuXPASS\", \"$db_date\")";
mysql_query($sqlQuery) or die(mysql_error());
$id = mysql_insert_id() or die(mysql_error());
return $id;
@@ -449,6 +449,7 @@
$warningsAdded = $_POST['warnings_removed'];
$warningsRemoved = $_POST['warnings_added'];
$buildstatus = $_POST['buildstatus'];
+$build_log = $_POST['build_data'];
if($buildstatus == "OK") {
$buildstatus = 1;
@@ -475,7 +476,7 @@
$warningsRemoved, $cvsUsersAdd, $cvsUsersCO,
$cvsFilesAdded, $cvsFilesRemoved, $cvsFilesModified,
$buildstatus, $dejagnuPASS, $dejagnuXPASS,
- $dejagnuFAIL, $dejagnuXFAIL);
+ $dejagnuFAIL, $dejagnuXFAIL, $db_date);
//Print data obtained so far
More information about the llvm-commits
mailing list