aboutsummaryrefslogtreecommitdiff
path: root/tests/docker/common.rc
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-08-17 11:57:21 +0800
committerFam Zheng <famz@redhat.com>2017-09-22 10:20:34 +0800
commit05790dafef187ae1739d71dbd15a3baea2b8f8b1 (patch)
treefe93af8f3862075e6734ccd70344efe59224a4f5 /tests/docker/common.rc
parent5e8a7fe673ca5949bd51939ee36faaf3b1320de8 (diff)
downloadqemu-05790dafef187ae1739d71dbd15a3baea2b8f8b1.zip
qemu-05790dafef187ae1739d71dbd15a3baea2b8f8b1.tar.gz
qemu-05790dafef187ae1739d71dbd15a3baea2b8f8b1.tar.bz2
tests/docker: Clean up paths
The 'run' script already creats src, build and install directories under $TEST_DIR, use it in common.rc. Also the tests always run from $QEMU_SRC/tests/docker, so use a relative $CMD string. Message-Id: <20170817035721.11064-1-famz@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'tests/docker/common.rc')
-rwxr-xr-xtests/docker/common.rc5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/docker/common.rc b/tests/docker/common.rc
index 6865689..64b36ba 100755
--- a/tests/docker/common.rc
+++ b/tests/docker/common.rc
@@ -11,9 +11,6 @@
# or (at your option) any later version. See the COPYING file in
# the top-level directory.
-BUILD_DIR=/var/tmp/qemu-build
-mkdir $BUILD_DIR
-
requires()
{
for c in $@; do
@@ -28,7 +25,7 @@ build_qemu()
{
config_opts="--enable-werror \
${TARGET_LIST:+--target-list=${TARGET_LIST}} \
- --prefix=$PWD/install \
+ --prefix=$INSTALL_DIR \
$QEMU_CONFIGURE_OPTS $EXTRA_CONFIGURE_OPTS \
$@"
echo "Configure options:"