Tests: Disable check on Linux if ASAN is enabled
@@ -122,5 +122,8 @@ endif (INSTALL_TESTING)
file (GLOB SCRIPT_TESTS *.sh)
foreach (file ${SCRIPT_TESTS})
get_filename_component (name ${file} NAME)
+ # The test `testscr_check_kdb_internal_check` might fail on Linux if ASAN is enabled because of problematic code in `stl_tree.h`
+ if (NOT (${name} MATCHES "check_kdb_internal_check" AND ENABLE_ASAN))
add_scripttest(${name})
+ endif (NOT (${name} MATCHES "check_kdb_internal_check" AND ENABLE_ASAN))
endforeach (file ${SCRIPT_TESTS})
