]> xenbits.xensource.com Git - osstest.git/commitdiff
cs-bisection-step: Do not needlessly repro on tip
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 4 Jun 2020 12:38:33 +0000 (13:38 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Thu, 4 Jun 2020 12:39:31 +0000 (13:39 +0100)
If we were halfway through bisecting, we treat the incident failure as
the basis failure.  But our previous bisection results can count as
indications that things are really failing - we don't need to repro on
the very final commit.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
cs-bisection-step

index bc6fb794956bbab4530dbdec5d43caea6976f1c0..9a0fee39976075ce4892d5dac5c97e96201bfccd 100755 (executable)
@@ -873,7 +873,8 @@ sub search () {
         need_repro_sequence(2, sub {
             my ($repro_count, $is_last_repro) = @_;
             need_repro('pass', $nodes{"@basispass_rtuple"}, "basis pass") ||
-            need_repro('fail', $nodes{"@latest_rtuple"},    "basis failure");
+            need_repro('fail', $nodes{"@latest_rtuple"}, "basis failure",
+                      !$is_last_repro);
         });
 
     foreach my $startfail (@failures) {