From: Ian Jackson Date: Fri, 22 Oct 2021 15:35:39 +0000 (+0100) Subject: make-flight: do_examine_one: add firmware argument X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=76cb3638b3cf117b00718fb91ed894ad0f48af80;p=osstest.git make-flight: do_examine_one: add firmware argument Nothing sets this yet. No functional change (checked with standalone-generate-dump-flight-runvars) Signed-off-by: Ian Jackson Release-Acked-by: Ian Jackson --- diff --git a/make-flight b/make-flight index ecbb195..acb19b1 100755 --- a/make-flight +++ b/make-flight @@ -687,20 +687,31 @@ do_pv_debian_tests () { } do_examine_one () { + local firmware="$1" + case "$branch" in xen-unstable) ;; # only likely to regress on -unstable osstest) ;; # very likely to regress linux-*) ;; # often seems to regress *) return ;; # stuff used for guests is irrelevant esac + + local firmware_suffix + local firmware_hostflag + if [ "$firmware" ]; then + firmware_suffix=-$firmware + firmware_hostflag=,PropEq:Firmware:bios:$firmware + fi + local freebsd_runvars # set_freebsd_runvars expects $arch to be set to the desired FreeBSD arch. local arch=$dom0arch # Pass true to not append any hostflags when creating the FreeBSD runvars. set_freebsd_runvars true - job_create_test test-$xenarch$kern-$dom0arch-examine \ + job_create_test test-$xenarch$kern-$dom0arch-examine${firmware_suffix} \ host-examine-xen xl $xenarch $dom0arch \ - all_hostflags=$most_hostflags $freebsd_runvars + all_hostflags=$most_hostflags$firmware_hostflag \ + $freebsd_runvars } test_matrix_do_one () {