]> xenbits.xensource.com Git - osstest.git/commitdiff
mfi-common: break out dom0arches variable (nfc)
authorIan Jackson <iwj@xenproject.org>
Thu, 9 Sep 2021 15:36:28 +0000 (16:36 +0100)
committerIan Jackson <iwj@xenproject.org>
Thu, 9 Sep 2021 16:17:16 +0000 (17:17 +0100)
This will allow test choices to depend on the actual rather than
entire dom0arches.

No change to output from standalone-generate-dump-flight-runvars.

Signed-off-by: Ian Jackson <iwj@xenproject.org>
mfi-common

index 2834411fd885edd33b5a9ee17bcaec41465080b3..70e17f7a7c8d3026e80796f3fe2b9c9681cb2426 100644 (file)
@@ -643,6 +643,7 @@ test_matrix_iterate () {
       *)          echo >&2 "kernbuild ?  $kern"; exit 1 ;;
       esac
 
+      dom0arches=''
       for dom0arch in i386 amd64 armhf arm64; do
 
         case ${xenarch}_${dom0arch} in
@@ -654,6 +655,11 @@ test_matrix_iterate () {
             *) continue ;;
         esac
 
+        dom0arches+=" $dom0arch"
+      done
+
+      for dom0arch in $dom0arches; do
+
         eval "
             arch_runvars=\"\$ARCH_RUNVARS_$dom0arch\"
         "