diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2019-10-01 15:36:28 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-10-04 18:49:17 +0200 |
| commit | 6f89ec7442ef4a7c7a826ab0809c5583f75de4bf (patch) | |
| tree | 349ea8a192dd7936d942f2594aa6cdb302459387 | |
| parent | e97dd6b2b3d67ca575c491382b522415904bd552 (diff) | |
| download | focaccia-qemu-6f89ec7442ef4a7c7a826ab0809c5583f75de4bf.tar.gz focaccia-qemu-6f89ec7442ef4a7c7a826ab0809c5583f75de4bf.zip | |
docker: test-debug: disable LeakSanitizer
There are just too many leaks in device-introspect-test (especially for the plethora of arm and aarch64 boards) to make LeakSanitizer useful; disable it for now. Whoever is interested in debugging leaks can also use valgrind like this: QTEST_QEMU_BINARY=aarch64-softmmu/qemu-system-aarch64 \ QTEST_QEMU_IMG=qemu-img \ valgrind --trace-children=yes --leak-check=full \ tests/device-introspect-test -p /aarch64/device/introspect/concrete/defaults/none Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
| -rwxr-xr-x | tests/docker/test-debug | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/docker/test-debug b/tests/docker/test-debug index 137f4f2ddc..c050fa0d93 100755 --- a/tests/docker/test-debug +++ b/tests/docker/test-debug @@ -21,6 +21,7 @@ cd "$BUILD_DIR" OPTS="--cxx=clang++ --cc=clang --host-cc=clang" OPTS="--enable-debug --enable-sanitizers $OPTS" +export ASAN_OPTIONS=detect_leaks=0 build_qemu $OPTS check_qemu check V=1 install_qemu |