From 1271e63c499b272cfa65deda4a74197f5253df74 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 15 Apr 2019 12:58:48 +0200 Subject: tests: ignore errors with enabled ASAN in python bindings temporary solution... as it ends with undefined symbol: __asan_option_detect_stack_use_after_return Signed-off-by: Karel Zak --- tests/ts/libmount/context-py | 4 ++++ tests/ts/libmount/context-utab-py | 4 ++++ tests/ts/libmount/tabfiles-py | 2 +- tests/ts/libmount/tabfiles-tags-py | 2 +- tests/ts/libmount/update-py | 2 +- 5 files changed, 11 insertions(+), 3 deletions(-) (limited to 'tests/ts') diff --git a/tests/ts/libmount/context-py b/tests/ts/libmount/context-py index dfc8faaee..f86edd3af 100755 --- a/tests/ts/libmount/context-py +++ b/tests/ts/libmount/context-py @@ -20,6 +20,10 @@ ts_check_prog "mkfs.ext4" ts_init_py libmount +if [ "$TS_ENABLE_ASAN" == "yes" ]; then + TS_KNOWN_FAIL="yes" +fi + TESTPROG="$TS_HELPER_PYLIBMOUNT_CONTEXT" [ -x $TESTPROG ] || ts_die "test script missing" diff --git a/tests/ts/libmount/context-utab-py b/tests/ts/libmount/context-utab-py index 89fc0c157..3a1da05c1 100755 --- a/tests/ts/libmount/context-utab-py +++ b/tests/ts/libmount/context-utab-py @@ -19,6 +19,10 @@ ts_check_prog "mkfs.ext4" ts_init_py libmount +if [ "$TS_ENABLE_ASAN" == "yes" ]; then + TS_KNOWN_FAIL="yes" +fi + TESTPROG="$TS_HELPER_PYLIBMOUNT_CONTEXT" [ -x $TESTPROG ] || ts_die "test script missing" diff --git a/tests/ts/libmount/tabfiles-py b/tests/ts/libmount/tabfiles-py index b15746070..832e6d980 100755 --- a/tests/ts/libmount/tabfiles-py +++ b/tests/ts/libmount/tabfiles-py @@ -9,7 +9,7 @@ TS_DESC="tab files-py" ts_init "$*" ts_init_py libmount -if [ -f "$ASAN_SYMBOLIZER_PATH" ]; then +if [ "$TS_ENABLE_ASAN" == "yes" ]; then TS_KNOWN_FAIL="yes" fi diff --git a/tests/ts/libmount/tabfiles-tags-py b/tests/ts/libmount/tabfiles-tags-py index 5e72a6f90..5dd333282 100755 --- a/tests/ts/libmount/tabfiles-tags-py +++ b/tests/ts/libmount/tabfiles-tags-py @@ -10,7 +10,7 @@ ts_skip_nonroot ts_init_py libmount -if [ -f "$ASAN_SYMBOLIZER_PATH" ]; then +if [ "$TS_ENABLE_ASAN" == "yes" ]; then TS_KNOWN_FAIL="yes" fi diff --git a/tests/ts/libmount/update-py b/tests/ts/libmount/update-py index 66f175485..369a521b1 100755 --- a/tests/ts/libmount/update-py +++ b/tests/ts/libmount/update-py @@ -10,7 +10,7 @@ ts_init "$*" ts_init_py libmount ts_skip_nonroot -if [ -f "$ASAN_SYMBOLIZER_PATH" ]; then +if [ "$TS_ENABLE_ASAN" == "yes" ]; then TS_KNOWN_FAIL="yes" fi -- cgit v1.2.3-55-g7522