Revert "Revert "Skip asan testing when using await""

* -> "fatal error: error in backend: cannot move instruction since its users are not dominated by CoroBegin"

This reverts commit eed883b0a5bdf8531943ad8afe182fa04e956a3b.
This commit is contained in:
Denis Blank 2018-01-29 00:36:08 +01:00
parent 19941e774b
commit 8c8f7f98a1

View File

@ -51,6 +51,7 @@ if [[ $CXX == *"clang"* ]]; then
ASAN_OPTIONS=verbosity=1:abort_on_error=1
# Build the test suite with various sanitizers:
if [ $WITH_AWAIT != "ON" ]; then
# - ASan (LSan):
echo "Building with address sanitizer..."
CMAKE_CXX_FLAGS="-fsanitize=address -fno-omit-frame-pointer"
@ -58,6 +59,9 @@ if [[ $CXX == *"clang"* ]]; then
ninja -j2
ctest --verbose
else
echo "Skipping ASan testing because we build with coroutine support...";
fi
# - UBSan:
echo "Building with undefined behaviour sanitizer..."