aboutsummaryrefslogtreecommitdiff
path: root/tests/docker/test-clang
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2019-09-11 21:44:42 -0400
committerAlex Bennée <alex.bennee@linaro.org>2019-09-26 19:00:53 +0100
commit47c823e5be1eba690cb5b2c94962b8c4ac02cae4 (patch)
tree8b83c97af489b14f1ac5e9f0604a063a3fc3cc7a /tests/docker/test-clang
parent2762f04d50b37d93ac8aeb5311b2a1ea4b7c91ac (diff)
downloadqemu-47c823e5be1eba690cb5b2c94962b8c4ac02cae4.zip
qemu-47c823e5be1eba690cb5b2c94962b8c4ac02cae4.tar.gz
qemu-47c823e5be1eba690cb5b2c94962b8c4ac02cae4.tar.bz2
tests/docker: add sanitizers back to clang build
Fedora23 is but a distant twinkle. The sanitizer works again, and even if not, we have --enable-sanitizers now. Signed-off-by: John Snow <jsnow@redhat.com> Message-Id: <20190912014442.5757-1-jsnow@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/docker/test-clang')
-rwxr-xr-xtests/docker/test-clang6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/docker/test-clang b/tests/docker/test-clang
index 324e341..db9e697 100755
--- a/tests/docker/test-clang
+++ b/tests/docker/test-clang
@@ -17,11 +17,7 @@ requires clang
cd "$BUILD_DIR"
-OPTS="--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
-#OPTS="$OPTS --extra-cflags=-fsanitize=undefined \
- #--extra-cflags=-fno-sanitize=float-divide-by-zero"
+OPTS="--cxx=clang++ --cc=clang --host-cc=clang --enable-sanitizers"
build_qemu $OPTS
check_qemu
install_qemu