JNA: Disable test if ASAN is enabled
@@ -49,6 +49,8 @@ if (MAVEN_EXECUTABLE) # set by find_program
set (MAVEN_TEST_ENV "env-test")
endif ()
+
+ if (NOT ENABLE_ASAN)
add_test (
NAME testjna_maven
COMMAND ${MAVEN_EXECUTABLE} -q -B -e -P ${MAVEN_TEST_ENV} test
@@ -65,6 +67,7 @@ if (MAVEN_EXECUTABLE) # set by find_program
TEST testjna_maven
PROPERTY LABELS bindings
)
+ endif (NOT ENABLE_ASAN)
else (MAVEN_EXECUTABLE)
remove_binding (jna "Maven Executable not found, but required to build the jna bindings")
endif (MAVEN_EXECUTABLE)
