]> xenbits.xensource.com Git - people/royger/osstest.git/commitdiff
mfi-common: Honour BuildArches and TestArches config settings
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 9 Apr 2018 15:36:31 +0000 (16:36 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 9 Apr 2018 15:36:31 +0000 (16:36 +0100)
These settings are currently not provided, and the defaults are
unchanged, so no functional change.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
mfi-common

index 8a9546ab6cff4d54432d3c7bb59be634bbf727f9..cef28ad15ff573b0b5b9ef2be5e8fca5f8d39ac7 100644 (file)
@@ -158,7 +158,8 @@ create_build_jobs () {
      BUILD_RUNVARS+=" build_lvextend_max=$BUILD_LVEXTEND_MAX "
   fi
 
-  for arch in ${BUILD_ARCHES- i386 amd64 armhf arm64 }; do
+  : ${BUILD_ARCHES=`getconfig BuildArches`}
+  for arch in ${BUILD_ARCHES:- i386 amd64 armhf arm64 }; do
 
     if [ "x$arch" = xdisable ]; then continue; fi
 
@@ -459,7 +460,8 @@ test_matrix_iterate () {
       ;;
   esac
 
-  for xenarch in ${TEST_ARCHES- i386 amd64 armhf arm64 } ; do
+  : ${TEST_ARCHES=`getconfig TestArches`}
+  for xenarch in ${TEST_ARCHES:- i386 amd64 armhf arm64 } ; do
 
     if [ "x$xenarch" = xdisable ]; then continue; fi