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>
This commit is contained in:
John Snow 2019-09-11 21:44:42 -04:00 committed by Alex Bennée
parent 2762f04d50
commit 47c823e5be

View File

@ -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