summaryrefslogtreecommitdiffstats
path: root/tests/docker
diff options
context:
space:
mode:
authorFam Zheng2016-09-21 05:49:25 +0200
committerFam Zheng2016-09-23 05:48:32 +0200
commit9445c28ec3753470554790debc6ac12609c3b733 (patch)
treee139f690f4194727abcc711c3b4c335dd563a7ae /tests/docker
parentdocker: Flatten default target list in test-quick (diff)
downloadqemu-9445c28ec3753470554790debc6ac12609c3b733.tar.gz
qemu-9445c28ec3753470554790debc6ac12609c3b733.tar.xz
qemu-9445c28ec3753470554790debc6ac12609c3b733.zip
docker: Print used options before doing configure
This makes the configure command more obvious which usually has useful information. Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <1474429768-25027-7-git-send-email-famz@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'tests/docker')
-rwxr-xr-xtests/docker/common.rc14
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/docker/common.rc b/tests/docker/common.rc
index 0c6d8d5ece..510a3ad3f4 100755
--- a/tests/docker/common.rc
+++ b/tests/docker/common.rc
@@ -23,11 +23,13 @@ requires()
build_qemu()
{
- $QEMU_SRC/configure \
- --enable-werror \
- ${TARGET_LIST:+"--target-list=${TARGET_LIST}"} \
- --prefix="$PWD/install" \
- $EXTRA_CONFIGURE_OPTS \
- "$@"
+ config_opts="--enable-werror \
+ ${TARGET_LIST:+--target-list=${TARGET_LIST}} \
+ --prefix=$PWD/install \
+ $EXTRA_CONFIGURE_OPTS \
+ $@"
+ echo "Configure options:"
+ echo $config_opts
+ $QEMU_SRC/configure $config_opts
make $MAKEFLAGS
}