diff options
| author | Peter Maydell | 2016-10-04 12:01:39 +0200 |
|---|---|---|
| committer | Peter Maydell | 2016-10-04 12:01:39 +0200 |
| commit | d681127d37e192dcf6f15802236d1fbfaf15d682 (patch) | |
| tree | c920b16d392329aff2e2b6567c42e790ed1ecf8e /tests | |
| parent | Merge remote-tracking branch 'remotes/borntraeger/tags/s390x-20160927' into s... (diff) | |
| parent | docker: Build in a clean directory (diff) | |
| download | qemu-d681127d37e192dcf6f15802236d1fbfaf15d682.tar.gz qemu-d681127d37e192dcf6f15802236d1fbfaf15d682.tar.xz qemu-d681127d37e192dcf6f15802236d1fbfaf15d682.zip | |
Merge remote-tracking branch 'remotes/famz/tags/for-upstream' into staging
# gpg: Signature made Sun 02 Oct 2016 02:49:58 BST
# gpg: using RSA key 0xCA35624C6A9171C6
# gpg: Good signature from "Fam Zheng <famz@redhat.com>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 5003 7CB7 9706 0F76 F021 AD56 CA35 624C 6A91 71C6
* remotes/famz/tags/for-upstream:
docker: Build in a clean directory
smbios: fix uuid copy
xenpv: Fix qemu_uuid compiling error
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/docker/common.rc | 3 | ||||
| -rwxr-xr-x | tests/docker/test-clang | 2 | ||||
| -rwxr-xr-x | tests/docker/test-full | 2 | ||||
| -rwxr-xr-x | tests/docker/test-mingw | 2 | ||||
| -rwxr-xr-x | tests/docker/test-quick | 2 |
5 files changed, 11 insertions, 0 deletions
diff --git a/tests/docker/common.rc b/tests/docker/common.rc index 510a3ad3f4..21657e87c6 100755 --- a/tests/docker/common.rc +++ b/tests/docker/common.rc @@ -11,6 +11,9 @@ # 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 diff --git a/tests/docker/test-clang b/tests/docker/test-clang index 60e4e976b3..16485e6b7e 100755 --- a/tests/docker/test-clang +++ b/tests/docker/test-clang @@ -15,6 +15,8 @@ requires clang +cd "$BUILD_DIR" + OPTS="--enable-debug --cxx=clang++ --cc=clang --host-cc=clang" # -fsanitize=undefined is broken on Fedora 23, skip it for now # See also: https://bugzilla.redhat.com/show_bug.cgi?id=1263834 diff --git a/tests/docker/test-full b/tests/docker/test-full index fd9b798947..05f0d491d1 100755 --- a/tests/docker/test-full +++ b/tests/docker/test-full @@ -13,5 +13,7 @@ . common.rc +cd "$BUILD_DIR" + build_qemu make check $MAKEFLAGS diff --git a/tests/docker/test-mingw b/tests/docker/test-mingw index c03757add8..33968769f8 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 \ diff --git a/tests/docker/test-quick b/tests/docker/test-quick index 7885dfafdb..c465dc06d8 100755 --- a/tests/docker/test-quick +++ b/tests/docker/test-quick @@ -13,6 +13,8 @@ . common.rc +cd "$BUILD_DIR" + DEF_TARGET_LIST="x86_64-softmmu,aarch64-softmmu" TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \ build_qemu |
