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>
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) {