]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
cs-bisection-step: allow -bisect blessed flights for basis pass
authorIan Jackson <iwj@woking.cam.xci-test.com>
Thu, 31 Jan 2013 11:38:05 +0000 (11:38 +0000)
committerIan Jackson <iwj@woking.cam.xci-test.com>
Thu, 31 Jan 2013 11:38:05 +0000 (11:38 +0000)
cs-bisection-step

index f4cbb99ae705e0b8c033314b510fef79ff3b986e..4cefde571af77814dff45d5b3f39603c8dbb8739 100755 (executable)
@@ -299,7 +299,7 @@ END
         SELECT * FROM flights JOIN steps USING (flight)
           WHERE job = ?
             AND testid = ?
-            AND blessing = ?
+            AND $blessingscond
             AND status = 'pass'
              AND branch = ?
              AND $flight_is_not_broken
@@ -330,7 +330,7 @@ END
 
         print STDERR "/";
         my ($basisrow,$trybasis);
-        $basisq->execute($job,$testid,$blessings[0],$branch);
+        $basisq->execute($job,$testid,$branch);
         while ($trybasis= $basisq->fetchrow_hashref()) {
             print STDERR " $trybasis->{flight}";
             my $basishosts= relevant_hosts($trybasis->{flight});