[llvm-commits] CVS: nightlytest-serverside/NightlyTestAccept.cgi ProgramResults.php fulltest.php test.php
Jim Laskey
jlaskey at apple.com
Fri Sep 8 12:45:52 PDT 2006
Changes in directory nightlytest-serverside:
NightlyTestAccept.cgi updated: 1.54 -> 1.55
ProgramResults.php updated: 1.42 -> 1.43
fulltest.php updated: 1.17 -> 1.18
test.php updated: 1.19 -> 1.20
---
Log message:
reuse code for e-mail report #4
---
Diffs of the changes: (+13 -19)
NightlyTestAccept.cgi | 2 +-
ProgramResults.php | 6 ------
fulltest.php | 12 ++++++------
test.php | 12 ++++++------
4 files changed, 13 insertions(+), 19 deletions(-)
Index: nightlytest-serverside/NightlyTestAccept.cgi
diff -u nightlytest-serverside/NightlyTestAccept.cgi:1.54 nightlytest-serverside/NightlyTestAccept.cgi:1.55
--- nightlytest-serverside/NightlyTestAccept.cgi:1.54 Mon Sep 4 13:38:46 2006
+++ nightlytest-serverside/NightlyTestAccept.cgi Fri Sep 8 14:45:37 2006
@@ -839,7 +839,7 @@
if($buildstatus eq "OK") {
if ($passing eq "") {
- $pasing = "None";
+ $passing = "None";
}
$email .= "\nNew Test Passes: $passing\n";
if ($failing eq "") {
Index: nightlytest-serverside/ProgramResults.php
diff -u nightlytest-serverside/ProgramResults.php:1.42 nightlytest-serverside/ProgramResults.php:1.43
--- nightlytest-serverside/ProgramResults.php:1.42 Fri Sep 8 14:33:51 2006
+++ nightlytest-serverside/ProgramResults.php Fri Sep 8 14:45:37 2006
@@ -441,7 +441,6 @@
}
mysql_free_result($program_query);
}
- $result = htmlifyTestResults($result);
return $result;
}
@@ -468,7 +467,6 @@
}
mysql_free_result($program_query);
}
- $result = htmlifyTestResults($result);
return $result;
}
@@ -544,7 +542,6 @@
$test_hash = getTestSet($prev_id, "program");
$result .= getExcludedTests($cur_id, "program", $test_hash);
}
- $result = htmlifyTestResults($result);
return $result;
}
@@ -573,7 +570,6 @@
$test_hash = getTestSet($cur_id, "program");
$result .= getExcludedTests($prev_id, "program", $test_hash);
}
- $result = htmlifyTestResults($result);
return $result;
}
@@ -654,7 +650,6 @@
$test_hash = getTestFailSet($prev_id, "program");
$result .= getPassingTests($cur_id, "program", $test_hash);
}
- $result = htmlifyTestResults($result);
return $result;
}
@@ -683,7 +678,6 @@
$test_hash = getTestFailSet($cur_id, "program");
$result .= getPassingTests($prev_id, "program", $test_hash);
}
- $result = htmlifyTestResults($result);
return $result;
}
Index: nightlytest-serverside/fulltest.php
diff -u nightlytest-serverside/fulltest.php:1.17 nightlytest-serverside/fulltest.php:1.18
--- nightlytest-serverside/fulltest.php:1.17 Fri Sep 1 05:48:04 2006
+++ nightlytest-serverside/fulltest.php Fri Sep 8 14:45:37 2006
@@ -132,19 +132,19 @@
* Printing changes in test suite
*
******************************************************/
-$new_tests=getNewTests($night_id, $previous_succesful_id, $mysql_link);
+$new_tests=htmlifyTestResults(getNewTests($night_id, $previous_succesful_id, $mysql_link));
if(strcmp($new_tests,"")===0){
$new_tests="None";
}
-$removed_tests=getRemovedTests($night_id, $previous_succesful_id, $mysql_link);
+$removed_tests=htmlifyTestResults(getRemovedTests($night_id, $previous_succesful_id, $mysql_link));
if(strcmp($removed_tests,"")===0){
$removed_tests="None";
}
-$newly_passing_tests=getFixedTests($night_id, $previous_succesful_id, $mysql_link);
+$newly_passing_tests=htmlifyTestResults(getFixedTests($night_id, $previous_succesful_id, $mysql_link));
if(strcmp($newly_passing_tests,"")===0){
$newly_passing_tests="None";
}
-$newly_failing_tests=getBrokenTests($night_id, $previous_succesful_id, $mysql_link);
+$newly_failing_tests=htmlifyTestResults(getBrokenTests($night_id, $previous_succesful_id, $mysql_link));
if(strcmp($newly_failing_tests,"")===0){
$newly_failing_tests="None";
}
@@ -179,7 +179,7 @@
* Printing failures in test suite
*
******************************************************/
-$failing_tests=getFailures($night_id);
+$failing_tests=htmlifyTestResults(getFailures($night_id));
if(strcmp($failing_tests,"")===0){
$newly_failing_tests="None";
}
@@ -200,7 +200,7 @@
$delta_exppass = $today_row['teststats_exppass']-$yesterday_row['teststats_exppass'];
$delta_expfail = $today_row['teststats_expfail']-$yesterday_row['teststats_expfail'];
$delta_unexpfail = $today_row['teststats_unexpfail']-$yesterday_row['teststats_unexpfail'];
-$unexpected_failures = getUnexpectedFailures($night_id);
+$unexpected_failures = htmlifyTestResults(getUnexpectedFailures($night_id));
if($delta_exppass==0 && $delta_expfail==0 &&
$delta_unexpfail==0 && strcmp($unexpected_failures, "")===0){
Index: nightlytest-serverside/test.php
diff -u nightlytest-serverside/test.php:1.19 nightlytest-serverside/test.php:1.20
--- nightlytest-serverside/test.php:1.19 Fri Sep 1 05:48:04 2006
+++ nightlytest-serverside/test.php Fri Sep 8 14:45:37 2006
@@ -144,19 +144,19 @@
* Printing changes in test suite
*
******************************************************/
-$new_tests=getNewTests($night_id, $previous_succesful_id, $mysql_link);
+$new_tests=htmlifyTestResults(getNewTests($night_id, $previous_succesful_id, $mysql_link));
if(strcmp($new_tests,"")===0){
$new_tests="None";
}
-$removed_tests=getRemovedTests($night_id, $previous_succesful_id, $mysql_link);
+$removed_tests=htmlifyTestResults(getRemovedTests($night_id, $previous_succesful_id, $mysql_link));
if(strcmp($removed_tests,"")===0){
$removed_tests="None";
}
-$newly_passing_tests=getFixedTests($night_id, $previous_succesful_id, $mysql_link);
+$newly_passing_tests=htmlifyTestResults(getFixedTests($night_id, $previous_succesful_id, $mysql_link));
if(strcmp($newly_passing_tests,"")===0){
$newly_passing_tests="None";
}
-$newly_failing_tests=getBrokenTests($night_id, $previous_succesful_id, $mysql_link);
+$newly_failing_tests=htmlifyTestResults(getBrokenTests($night_id, $previous_succesful_id, $mysql_link));
if(strcmp($newly_failing_tests,"")===0){
$newly_failing_tests="None";
}
@@ -191,7 +191,7 @@
* Printing failures in test suite
*
******************************************************/
-$failing_tests=getFailures($night_id);
+$failing_tests=htmlifyTestResultsgetFailures($night_id));
if(strcmp($failing_tests,"")===0){
$newly_failing_tests="None";
}
@@ -212,7 +212,7 @@
$delta_exppass = $today_row['teststats_exppass']-$yesterday_row['teststats_exppass'];
$delta_expfail = $today_row['teststats_expfail']-$yesterday_row['teststats_expfail'];
$delta_unexpfail = $today_row['teststats_unexpfail']-$yesterday_row['teststats_unexpfail'];
-$unexpected_failures = getUnexpectedFailures($night_id);
+$unexpected_failures = htmlifyTestResults(getUnexpectedFailures($night_id));
if($delta_exppass==0 && $delta_expfail==0 &&
$delta_unexpfail==0 && strcmp($unexpected_failures,"")===0){
More information about the llvm-commits
mailing list