run-tests: don't mix msan with ubsan.

ubsan seems to be causing false positives for msan.
We already try ubsan together with asan.
This commit is contained in:
Emil Mikulic 2018-12-10 21:02:46 +11:00
parent 7d0fc1d9f9
commit 6e8abe2324

View File

@ -128,8 +128,8 @@ if [[ ! -e "$CLANG" ]]; then
echo "***WARNING*** \$CLANG ($CLANG) doesn't exist."
echo "Skipping memory sanitizer. Try setting the env var."
else
echo "===> building a.out for msan + ubsan"
$CLANG -g -O2 -fsanitize=memory -fsanitize=undefined -DDEBUG -DAPBUF_INIT=1 \
echo "===> building a.out for msan"
$CLANG -g -O2 -fsanitize=memory -DDEBUG -DAPBUF_INIT=1 \
../darkhttpd.c || exit 1
(runtests) || {
echo "FAILED! stderr was:"