tests/docker: make test-full build all targets, not none
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Jun 2016 14:46:53 +0000 (16:46 +0200)
committerFam Zheng <famz@redhat.com>
Wed, 8 Jun 2016 07:19:30 +0000 (15:19 +0800)
Fix common.rc to avoid passing an empty --target-list= option to configure.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1465224417-141321-3-git-send-email-pbonzini@redhat.com
Signed-off-by: Fam Zheng <famz@redhat.com>
tests/docker/common.rc

index c493eeb..77069e1 100755 (executable)
@@ -24,7 +24,7 @@ requires()
 build_qemu()
 {
     $QEMU_SRC/configure \
-        --target-list="${TARGET_LIST}" \
+        ${TARGET_LIST:+"--target-list=${TARGET_LIST}"} \
         --prefix="$PWD/install" \
         $EXTRA_CONFIGURE_OPTS \
         "$@"