From c069ae048f0661de4f9c9568621e6c6a59dc7db9 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 13 Jun 2021 01:08:54 +0300 Subject: [PATCH] Update Travis to use undefined-sanitizer; disable failed_constexpr_test --- .travis.yml | 2 +- test/Jamfile.v2 | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fc05f55..eca1eea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -206,7 +206,7 @@ install: script: - |- echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam - - ./b2 -j3 libs/system/test toolset=$TOOLSET cxxstd=$CXXSTD variant=debug,release ${ADDRMD:+address-model=$ADDRMD} ${UBSAN:+cxxflags=-fsanitize=undefined cxxflags=-fno-sanitize-recover=undefined linkflags=-fsanitize=undefined define=UBSAN=1 debug-symbols=on} ${LINKFLAGS:+linkflags=$LINKFLAGS} + - ./b2 -j3 libs/system/test toolset=$TOOLSET cxxstd=$CXXSTD variant=debug,release ${ADDRMD:+address-model=$ADDRMD} ${UBSAN:+undefined-sanitizer=norecover define=UBSAN=1 debug-symbols=on} ${LINKFLAGS:+linkflags=$LINKFLAGS} notifications: email: diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 5ae8090..4e9ba32 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -56,7 +56,8 @@ system-run generic_category_test.cpp ; system-run system_category_test.cpp ; system-run after_main_test.cpp ; system-run failed_test.cpp ; -system-run failed_constexpr_test.cpp ; +compile failed_constexpr_test.cpp + : gcc,norecover:no ; # Quick (CI) test run quick.cpp ;