tests: use TS_ENABLE_ASAN in tests to detect ASAN
It seems better to not use any random ASAN variable. Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
2c308875a7
commit
2da48ba3cc
|
@ -38,7 +38,7 @@ for SIG in $($TS_CMD_KILL -L); do
|
||||||
EXPECTED=$SIG
|
EXPECTED=$SIG
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
if [ -f "$ASAN_SYMBOLIZER_PATH" ] && [ "x$SIG" = "xSEGV" ]; then
|
if [ -f "$TS_ENABLE_ASAN" ] && [ "x$SIG" = "xSEGV" ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
if [ "x$SIG" = "xSTOP" ] || [ "x$SIG" = "xKILL" ]; then
|
if [ "x$SIG" = "xSTOP" ] || [ "x$SIG" = "xKILL" ]; then
|
||||||
|
|
|
@ -8,7 +8,7 @@ ts_init "$*"
|
||||||
|
|
||||||
ts_skip_nonroot
|
ts_skip_nonroot
|
||||||
|
|
||||||
if [ -f "$ASAN_SYMBOLIZER_PATH" ]; then
|
if [ -f "$TS_ENABLE_ASAN" ]; then
|
||||||
TS_KNOWN_FAIL="yes"
|
TS_KNOWN_FAIL="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue