diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2020-06-23 18:07:21 +0200 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2020-06-23 18:07:21 +0200 |
| commit | 39143df7aed46e83f8c68ea9ad6d24cfdf5a1dd8 (patch) | |
| tree | d04e604dc48369096d672ed8e02449c903bb986e /tools | |
| parent | 96642ebde58e1eea692aea6a92d33f45452fa9c0 (diff) | |
| parent | 45e8e1149027529194982212c804c0468aa01d98 (diff) | |
Merge branch 'upstream/latest' of https://salsa.debian.org/utopia-team/network-manager into upstream/latest
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/run-nm-test.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/run-nm-test.sh b/tools/run-nm-test.sh index 16d9d8a7..02fced01 100755 --- a/tools/run-nm-test.sh +++ b/tools/run-nm-test.sh @@ -228,6 +228,19 @@ if [[ -n "$BUILDDIR" ]]; then fi fi +export ASAN_OPTIONS="$NM_TEST_ASAN_OPTIONS" +export LSAN_OPTIONS="$NM_TEST_LSAN_OPTIONS" +export UBSAN_OPTIONS="$NM_TEST_UBSAN_OPTIONS" +if [ -z "${NM_TEST_ASAN_OPTIONS+x}" ]; then + ASAN_OPTIONS="fast_unwind_on_malloc=false detect_leaks=1" +fi +if [ -z "${NM_TEST_LSAN_OPTIONS+x}" ]; then + LSAN_OPTIONS="suppressions=$SCRIPT_PATH/../lsan.suppressions" +fi +if [ -z "${NM_TEST_UBSAN_OPTIONS+x}" ]; then + UBSAN_OPTIONS="print_stacktrace=1:halt_on_error=1" +fi + if ! _is_true "$NMTST_USE_VALGRIND" 0; then export NM_TEST_UNDER_VALGRIND=0 exec "${NMTST_DBUS_RUN_SESSION[@]}" \ |