]> xenbits.xensource.com Git - osstest.git/commitdiff
cs-bisection-step: apply $checkbasisvcs->() to template as basis, too flight-16812 flight-16923 flight-17099
authorIan Jackson <iwj@woking.cam.xci-test.com>
Fri, 1 Mar 2013 17:02:42 +0000 (17:02 +0000)
committerIan Jackson <iwj@woking.cam.xci-test.com>
Fri, 1 Mar 2013 17:02:42 +0000 (17:02 +0000)
cs-bisection-step

index 2955f28aa657709ac6cefe8e82801b56e6feff3f..617464b32fb365a6cd9167d948a9f4df6b3eca0e 100755 (executable)
@@ -394,10 +394,16 @@ END
                print STDERR " no basis template.\n";
                next;
            } else {
-               print STDERR " using template as basis.\n";
+               print STDERR " template as basis?";
+               my @bad = $checkbasisvcs->($basistemplate);
+               if (@bad) {
+                   print STDERR " unsuitable.\n";
+                   next;
+               }
                $latest_flight= $tryfail->{flight};
                $basispass_flight= $basistemplate;
                $hosts= $failhosts;
+               print STDERR " using template as basis.\n";
                last;
            }
             next;