Changes in directory nightlytest-serverside:
EmailReport.php updated: 1.5 -> 1.6 ProgramResults.php updated: 1.45 -> 1.46 --- Log message: reuse code for e-mail report #16 --- Diffs of the changes: (+6 -10) EmailReport.php | 2 -- ProgramResults.php | 14 ++++++-------- 2 files changed, 6 insertions(+), 10 deletions(-) Index: nightlytest-serverside/EmailReport.php diff -u nightlytest-serverside/EmailReport.php:1.5 nightlytest-serverside/EmailReport.php:1.6 --- nightlytest-serverside/EmailReport.php:1.5 Fri Sep 8 19:22:09 2006 +++ nightlytest-serverside/EmailReport.php Fri Sep 8 19:24:04 2006 @@ -41,8 +41,6 @@ mysql_free_result($today_query); $previous_succesful_id = $yesterday_row['id']; -$new_schema_id = 684; - $email = getEmailReport($night_id, $previous_succesful_id); print $email; Index: nightlytest-serverside/ProgramResults.php diff -u nightlytest-serverside/ProgramResults.php:1.45 nightlytest-serverside/ProgramResults.php:1.46 --- nightlytest-serverside/ProgramResults.php:1.45 Fri Sep 8 17:47:25 2006 +++ nightlytest-serverside/ProgramResults.php Fri Sep 8 19:24:04 2006 @@ -29,8 +29,6 @@ $large_decrease="#90FF90"; $crazy_decrease="#20FF20"; -$new_schema_id = 684; - $category_match=array("GCCAS","Bytecode","LLC\<br\>compile", "LLC-BETA\<br\>compile","JIT\<br\>codegen","GCC", "CBE","LLC","LLC-BETA","JIT","GCC\/\<br\>CBE", @@ -422,7 +420,7 @@ */ function getFailures($night_id) { $result=""; - if ($night_id >= $new_schema_id) { + if ($night_id >= 684) { $query = "SELECT * FROM tests WHERE night=$night_id AND result=\"FAIL\" ORDER BY program ASC"; $program_query = mysql_query($query) or die (mysql_error()); while($row = mysql_fetch_array($program_query)) { @@ -452,7 +450,7 @@ */ function getUnexpectedFailures($night_id){ $result=""; - if($night_id<$new_schema_id){ + if($night_id<684){ $query = "SELECT unexpfail_tests FROM night WHERE id = $night_id"; $program_query = mysql_query($query) or die (mysql_error()); $row = mysql_fetch_array($program_query); @@ -529,7 +527,7 @@ } $result=""; - if($cur_id<$new_schema_id){ + if($cur_id<684){ $query = "SELECT new_tests FROM night WHERE id = $cur_id"; $program_query = mysql_query($query) or die (mysql_error()); $row = mysql_fetch_array($program_query); @@ -557,7 +555,7 @@ } $result=""; - if($cur_id<$new_schema_id){ + if($cur_id<684){ $query = "SELECT removed_tests FROM night WHERE id = $cur_id"; $program_query = mysql_query($query) or die (mysql_error()); $row = mysql_fetch_array($program_query); @@ -637,7 +635,7 @@ } $result=""; - if($cur_id<$new_schema_id){ + if($cur_id<684){ $query = "SELECT newly_passing_tests FROM night WHERE id = $cur_id"; $program_query = mysql_query($query) or die (mysql_error()); $row = mysql_fetch_array($program_query); @@ -665,7 +663,7 @@ } $result=""; - if($cur_id<$new_schema_id){ + if($cur_id<684){ $query = "SELECT newly_failing_tests FROM night WHERE id = $cur_id"; $program_query = mysql_query($query) or die (mysql_error()); $row = mysql_fetch_array($program_query); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits