Commit 9e5ef164 authored by Paolo Bonzini's avatar Paolo Bonzini

tests/docker: only enable ubsan for test-clang

-fsanitize=undefined is not the same thing as --enable-sanitizers.  After
commit 47c823e5 ("tests/docker: add sanitizers back to clang build", 2019-09-11)
test-clang is almost duplicating the asan (test-debug) test, so
partly revert commit 47c823e5 while leaving ubsan enabled.
Signed-off-by: default avatarPaolo Bonzini <>
parent 873df2ce
......@@ -17,7 +17,9 @@ requires clang
OPTS="--cxx=clang++ --cc=clang --host-cc=clang --enable-sanitizers"
OPTS="--cxx=clang++ --cc=clang --host-cc=clang"
OPTS="$OPTS --extra-cflags=-fsanitize=undefined \
build_qemu $OPTS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment