From 729cc6278b276b2f04f9f522568b98ed2f6fbf40 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 15 Jul 2016 15:59:30 +0100 Subject: [PATCH] Bisection truncation: Stop a bisection job after the step of interest Set the `truncate_testid' runvar when we create a bisection flight. Thus, the bisection will stop when it has collected the data point we wanted. This is especially useful if the failing step is early in a long job: passes do not have to wait for the whole rest of the job to run. Signed-off-by: Ian Jackson --- cs-bisection-step | 1 + 1 file changed, 1 insertion(+) diff --git a/cs-bisection-step b/cs-bisection-step index f009264..8d14423 100755 --- a/cs-bisection-step +++ b/cs-bisection-step @@ -1290,6 +1290,7 @@ END $hostspec =~ m/=/; $addvar->execute($popflight, $job, $`, $'); # ' } + $addvar->execute($popflight, $job, 'truncate_testid', $testid); }); } -- 2.39.5