]> xenbits.xensource.com Git - osstest.git/commitdiff
sg-run-job: do not try to allocate no hosts (fixes builds)
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 14 Feb 2013 14:29:08 +0000 (14:29 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 14 Feb 2013 14:29:08 +0000 (14:29 +0000)
sg-run-job

index 7bdc35987d68f953545ee3c7ab4e69e951101112..2cde8c1d622b0512cdb7bf4eef34f8c099cf95b9 100755 (executable)
@@ -42,8 +42,8 @@ proc run-job {job} {
     if {[llength $need_xen_hosts]} {
                catching-otherwise blocked   check-not-blocked
        if {!$ok} return
+        eval run-ts broken  =             ts-hosts-allocate + $need_xen_hosts
     }
-    eval run-ts broken  =                 ts-hosts-allocate + $need_xen_hosts
 
     if {$need_build_host} { catching-otherwise broken prepare-build-host }