[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 1/2] sg-run-job: Allow per-job control of test host reuse
Signed-off-by: Ian Jackson <iwj@xxxxxxxxxxxxxx> --- sg-run-job | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sg-run-job b/sg-run-job index c64ae026..69ee715b 100755 --- a/sg-run-job +++ b/sg-run-job @@ -42,10 +42,11 @@ proc per-host-finish {} { } proc run-job {job} { - global jobinfo builds flight ok truncate need_xen_hosts + global jobinfo builds flight ok reuse_ok truncate need_xen_hosts global nested_layers_hosts truncate_globs skip_globs anyskipped set ok 1 + set reuse_ok 1 set truncate 0 set anyskipped 0 jobdb::prepare $job @@ -128,7 +129,7 @@ proc run-job {job} { run-ts !broken = ts-host-reuse final host } set reuse {} - if {$ok} { lappend reuse --post-test-ok } + if {$ok && $reuse_ok} { lappend reuse --post-test-ok } eval [list per-host-ts !broken = { ts-host-reuse final }] $reuse if {$ok} { setstatus pass } -- 2.20.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |