]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
Bisection truncation: Stop a bisection job after the step of interest
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 15 Jul 2016 14:59:30 +0000 (15:59 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 18 Jul 2016 14:22:22 +0000 (15:22 +0100)
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 <Ian.Jackson@eu.citrix.com>
cs-bisection-step

index f009264d1b244cf63e48e377815c274828bbea62..8d144239088100b16584816287c7c58996db1fbd 100755 (executable)
@@ -1290,6 +1290,7 @@ END
             $hostspec =~ m/=/;
             $addvar->execute($popflight, $job, $`, $'); # '
         }
+       $addvar->execute($popflight, $job, 'truncate_testid', $testid);
     });
 }