]> xenbits.xensource.com Git - people/royger/osstest.git/commitdiff
osstest: Add freebsd runvars to examine job in generic flights pretest
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 25 Oct 2017 10:30:24 +0000 (11:30 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 25 Oct 2017 10:40:37 +0000 (11:40 +0100)
Previous patches only added the FreeBSD runvars to the jobs in the
examine flight, but failed to also add them to the examine job in the
generic flight.

This is necessary because the examine jobs now contain a step which
uses freebsd - the memdisk append determination.

On installations without an anointed freebsd job, and with no
freebsd-related config settings, that step will simply and harmlessly
fail.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
make-flight

index ecce3c0a90f8f8a0830d6b27ebb6638dc676dd66..d595101cd0b80cde2df099a65fd030a9a051de49 100755 (executable)
@@ -675,9 +675,11 @@ do_examine_one () {
     linux-*)                   ;; # often seems to regress
     *)                 return  ;; # stuff used for guests is irrelevant
   esac
+  local freebsd_runvars
+  set_freebsd_runvars
   job_create_test test-$xenarch$kern-$dom0arch-examine \
                   host-examine-xen xl $xenarch $dom0arch \
-                  all_hostflags=$most_hostflags
+                  all_hostflags=$most_hostflags $freebsd_runvars
 }
 
 test_matrix_do_one () {