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 <i...@xenproject.org>
---
 mfi-common | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/mfi-common b/mfi-common
index 2834411f..70e17f7a 100644
--- a/mfi-common
+++ b/mfi-common
@@ -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\"
         "
-- 
2.20.1


Reply via email to