Commit 6945018a authored by Alex Bennée's avatar Alex Bennée
Browse files

tests/docker: move DEF_TARGET_LIST setting to common.rc



We might as well not repeat ourselves. At the same time allow it to be
overridden which we will use later from docker targets.

Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
parent 8cf4efcf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -11,6 +11,10 @@
# or (at your option) any later version. See the COPYING file in
# the top-level directory.

# This might be set by ENV of a docker container... it is always
# overriden by TARGET_LIST if the user sets it.
DEF_TARGET_LIST=${DEF_TARGET_LIST:-"x86_64-softmmu,aarch64-softmmu"}

requires()
{
    for c in $@; do
+0 −1
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@

cd "$BUILD_DIR"

DEF_TARGET_LIST="x86_64-softmmu,aarch64-softmmu"
TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \
build_qemu
install_qemu
+0 −1
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@
requires mingw dtc

cd "$BUILD_DIR"
DEF_TARGET_LIST="x86_64-softmmu,aarch64-softmmu"

for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do
    TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \
+0 −1
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@

cd "$BUILD_DIR"

DEF_TARGET_LIST="x86_64-softmmu,aarch64-softmmu"
TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \
build_qemu
check_qemu