Skip to content

Commit

Permalink
Disable sandbox test with thread sanitizer.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Oct 4, 2023
1 parent 05b2d0a commit 0d0bd14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/preprocessor/include/preprocessor/preprocessor_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ extern "C" {

/* -- Macros -- */


#if defined(__GNUC__) || defined(__clang__)
#define PREPROCESSOR_IIF_IMPL_EXPAND_ARGS(...) __VA_ARGS__
#define PREPROCESSOR_IIF_IMPL_EXPAND(expr) expr
Expand Down
6 changes: 6 additions & 0 deletions source/tests/metacall_sandbox_plugin_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@ endif()

include(Portability)

# Sandbox is only supported in Linux
if(NOT PROJECT_OS_FAMILY STREQUAL unix)
return()
endif()

# Thread Sanitizer deadlocks with ASSERT_EXIT
if(OPTION_BUILD_THREAD_SANITIZER)
return()
endif()

#
# Executable name and options
#
Expand Down

0 comments on commit 0d0bd14

Please sign in to comment.