aboutsummaryrefslogtreecommitdiff
path: root/tests/docker/test-mingw
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2016-09-28 15:31:32 +0800
committerFam Zheng <famz@redhat.com>2016-10-02 09:47:23 +0800
commitc16fe84f07a9d3a04c11ce8a139e13a092b384c2 (patch)
tree962e37959b9c8436c7e6db70ed6bdf0028004b4b /tests/docker/test-mingw
parent664ee76891adce2b1df42d714f4c158a1df4220b (diff)
downloadqemu-c16fe84f07a9d3a04c11ce8a139e13a092b384c2.zip
qemu-c16fe84f07a9d3a04c11ce8a139e13a092b384c2.tar.gz
qemu-c16fe84f07a9d3a04c11ce8a139e13a092b384c2.tar.bz2
docker: Build in a clean directory
Currently we configure and build under "$QEMU_SRC/tests/docker" which is dubious. Create a fixed directory (to be friendly to ccache) and change to there before calling build_qemu. Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <1475047892-11955-1-git-send-email-famz@redhat.com>
Diffstat (limited to 'tests/docker/test-mingw')
-rwxr-xr-xtests/docker/test-mingw2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/docker/test-mingw b/tests/docker/test-mingw
index c03757a..3396876 100755
--- a/tests/docker/test-mingw
+++ b/tests/docker/test-mingw
@@ -15,6 +15,8 @@
requires mingw dtc
+cd "$BUILD_DIR"
+
for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do
TARGET_LIST=x86_64-softmmu,aarch64-softmmu \
build_qemu --cross-prefix=$prefix \