Skip to content

Commit 78437a1

Browse files
committed
Also disable pthread tests on OSX
They all fail with "pointer handling for concurrency is unsound."
1 parent fc69353 commit 78437a1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

regression/cbmc-concurrency/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if(NOT WIN32)
1+
if((NOT WIN32) AND (NOT APPLE))
22
add_test_pl_tests(
33
"$<TARGET_FILE:cbmc>"
44
)

regression/cbmc-concurrency/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ default: tests.log
33
include ../../src/config.inc
44
include ../../src/common
55

6-
ifeq ($(BUILD_ENV_),MSVC)
6+
ifeq ($(filter-out OSX MSVC,$(BUILD_ENV_)),)
7+
# no POSIX threads on Windows
8+
# for OSX we'd need sound handling of pointers in multi-threaded programs
79
no_pthread = -X pthread
810
endif
911

0 commit comments

Comments
 (0)