qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

tests/docker: add test-debug

Add a new test with --enable-debug using clang/asan/ubsan, remove
--enable-debug from test-clang & test-mingw.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20180104160523.22995-7-marcandre.lureau@redhat.com>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

authored by

Marc-André Lureau and committed by
Paolo Bonzini
11545663 c08d08b2

+27 -3
+1 -1
tests/docker/test-clang
··· 17 17 18 18 cd "$BUILD_DIR" 19 19 20 - OPTS="--enable-debug --cxx=clang++ --cc=clang --host-cc=clang" 20 + OPTS="--cxx=clang++ --cc=clang --host-cc=clang" 21 21 # -fsanitize=undefined is broken on Fedora 23, skip it for now 22 22 # See also: https://bugzilla.redhat.com/show_bug.cgi?id=1263834 23 23 #OPTS="$OPTS --extra-cflags=-fsanitize=undefined \
+26
tests/docker/test-debug
··· 1 + #!/bin/bash -e 2 + # 3 + # Compile and check with clang & --enable-debug. 4 + # 5 + # Copyright (c) 2016-2018 Red Hat Inc. 6 + # 7 + # Authors: 8 + # Fam Zheng <famz@redhat.com> 9 + # Marc-André Lureau <marcandre.lureau@redhat.com> 10 + # 11 + # This work is licensed under the terms of the GNU GPL, version 2 12 + # or (at your option) any later version. See the COPYING file in 13 + # the top-level directory. 14 + 15 + . common.rc 16 + 17 + requires clang asan 18 + 19 + cd "$BUILD_DIR" 20 + 21 + OPTS="--cxx=clang++ --cc=clang --host-cc=clang" 22 + OPTS="--enable-debug $OPTS" 23 + 24 + build_qemu $OPTS 25 + make $MAKEFLAGS check 26 + install_qemu
-2
tests/docker/test-mingw
··· 22 22 TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \ 23 23 build_qemu --cross-prefix=$prefix \ 24 24 --enable-trace-backends=simple \ 25 - --enable-debug \ 26 25 --enable-gnutls \ 27 26 --enable-nettle \ 28 27 --enable-curl \ ··· 35 34 make clean 36 35 37 36 done 38 -