Changes in directory nightlytest-serverside:
NightlyTestAccept.cgi updated: 1.46 -> 1.47 --- Log message: We now only consider previous tests with a buildstatus that is "OK". --- Diffs of the changes: (+3 -2) NightlyTestAccept.cgi | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index: nightlytest-serverside/NightlyTestAccept.cgi diff -u nightlytest-serverside/NightlyTestAccept.cgi:1.46 nightlytest-serverside/NightlyTestAccept.cgi:1.47 --- nightlytest-serverside/NightlyTestAccept.cgi:1.46 Mon Aug 14 14:20:30 2006 +++ nightlytest-serverside/NightlyTestAccept.cgi Tue Aug 15 13:04:33 2006 @@ -589,7 +589,8 @@ # or their equivalent. # ################################################################################ -my $d = $dbh->prepare("select * from night where machine = $machine_id ORDER BY added DESC"); +my $d = $dbh->prepare("select * from night where machine = $machine_id ". + "and buildstatus=\"OK\" ORDER BY added DESC"); $d->execute; my $row=$d->fetchrow_hashref; $yesterdays_tests = $row->{'all_tests'}; @@ -697,7 +698,7 @@ # adds very useful information to the nightly test email. # ################################################################################ -$query = "select id from night where id<$night_id and machine=$machine_id order by id desc"; +$query = "select id from night where id<$night_id and machine=$machine_id and buildstatus=\"OK\" order by id desc"; my $g = $dbh->prepare($query); $g->execute; $row = $g->fetchrow_hashref; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits