From 7bd9c71a0debc3177503c0d8496becb9afcf4c73 Mon Sep 17 00:00:00 2001 From: Jan Wielemaker Date: Sun, 1 Sep 2024 14:41:25 +0200 Subject: [PATCH] TEST: Disable prolog-in-java tests when using a sanitizer --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 402cfec..e412f9d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,7 +153,7 @@ if(JNI_FOUND AND Java_FOUND) # Add testing pack on Java code calling Prolog (class org.jpl7.JPLTestSuiteRunne) - if(HAMCREST) + if(HAMCREST AND NOT CMAKE_BUILD_TYPE STREQUAL "Sanitize") add_test( NAME jpl:prolog_in_java COMMAND env