Export ASAN_OPTIONS for suppressions
This commit is contained in:
parent
4bf5561cc1
commit
368fcf0c4d
3
.github/workflows/osrm-backend.yml
vendored
3
.github/workflows/osrm-backend.yml
vendored
@ -389,6 +389,7 @@ jobs:
|
|||||||
# We can only set this after checkout once we know the workspace directory
|
# We can only set this after checkout once we know the workspace directory
|
||||||
echo "LSAN_OPTIONS=print_suppressions=0:suppressions=${GITHUB_WORKSPACE}/scripts/ci/leaksanitizer.conf" >> $GITHUB_ENV
|
echo "LSAN_OPTIONS=print_suppressions=0:suppressions=${GITHUB_WORKSPACE}/scripts/ci/leaksanitizer.conf" >> $GITHUB_ENV
|
||||||
echo "UBSAN_OPTIONS=symbolize=1:halt_on_error=1:print_stacktrace=1:suppressions=${GITHUB_WORKSPACE}/scripts/ci/undefinedsanitizer.conf" >> $GITHUB_ENV
|
echo "UBSAN_OPTIONS=symbolize=1:halt_on_error=1:print_stacktrace=1:suppressions=${GITHUB_WORKSPACE}/scripts/ci/undefinedsanitizer.conf" >> $GITHUB_ENV
|
||||||
|
echo "ASAN_OPTION="print_suppressions=0:suppressions=${GITHUB_WORKSPACE}/scripts/ci/addressanitizer.conf" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${RUNNER_OS}" == "Linux" ]]; then
|
if [[ "${RUNNER_OS}" == "Linux" ]]; then
|
||||||
@ -518,7 +519,7 @@ jobs:
|
|||||||
# All tests assume to be run from the build directory
|
# All tests assume to be run from the build directory
|
||||||
pushd ${OSRM_BUILD_DIR}
|
pushd ${OSRM_BUILD_DIR}
|
||||||
for i in ./unit_tests/*-tests ; do echo Running $i ; $i ; done
|
for i in ./unit_tests/*-tests ; do echo Running $i ; $i ; done
|
||||||
if [ -z "${ENABLE_SANITIZER}" ] && [ "$TARGET_ARCH" != "i686" ]; then
|
if [ -z "${ENABLE_SANITIZER}" ]; then
|
||||||
npm run nodejs-tests
|
npm run nodejs-tests
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
|
|||||||
1
scripts/ci/addresssanitizer.conf
Normal file
1
scripts/ci/addresssanitizer.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
alignment:src/contractor/graph_contractor.cpp
|
||||||
@ -1,4 +1,3 @@
|
|||||||
alignment:src/contractor/graph_contractor.cpp
|
|
||||||
enum:include/tbb/pipeline.h
|
enum:include/tbb/pipeline.h
|
||||||
vptr:src/util/log.cpp
|
vptr:src/util/log.cpp
|
||||||
vptr:include/tbb/task.h
|
vptr:include/tbb/task.h
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user