]> git.saurik.com Git - apple/libpthread.git/blame_incremental - tests/Makefile
libpthread-330.201.1.tar.gz
[apple/libpthread.git] / tests / Makefile
... / ...
CommitLineData
1PROJECT := libpthread
2TEST_DIR := tests/
3
4ENABLE_LTE_TESTS=YES
5
6ifeq ($(DEVELOPER_DIR),)
7 DEVELOPER_DIR := $(shell xcode-select -p)
8endif
9
10include $(DEVELOPER_DIR)/AppleInternal/Makefiles/darwintest/Makefile.common
11
12TARGETS :=
13TARGETS += atfork
14TARGETS += bsdthread_set_self
15TARGETS += stack
16TARGETS += stack_size
17TARGETS += cond
18#TARGETS += cond_hang3
19#TARGETS += cond_stress
20TARGETS += cond_timed
21TARGETS += cond_prepost
22TARGETS += custom_stack
23TARGETS += stack_aslr
24TARGETS += join
25TARGETS += main_stack
26TARGETS += main_stack_custom
27TARGETS += detach
28#TARGETS += maxwidth
29TARGETS += mutex
30TARGETS += mutex_prepost
31TARGETS += mutex_try
32TARGETS += once_cancel
33TARGETS += pthread_attr_setstacksize
34TARGETS += pthread_bulk_create
35TARGETS += pthread_cancel
36TARGETS += pthread_cwd
37TARGETS += pthread_exit
38TARGETS += pthread_introspection
39TARGETS += pthread_setspecific
40TARGETS += pthread_threadid_np
41TARGETS += pthread_get_qos_class_np
42TARGETS += pthread_dependency
43#TARGETS += qos
44TARGETS += rdar_32848402
45#TARGETS += rwlock-22244050
46#TARGETS += rwlock-signal
47#TARGETS += rwlock
48TARGETS += tsd
49#TARGETS += wq_block_handoff
50#TARGETS += wq_event_manager
51#TARGETS += wq_kevent
52#TARGETS += wq_kevent_stress
53TARGETS += wq_limits
54TARGETS += add_timer_termination
55TARGETS += perf_contended_mutex_rwlock
56
57OTHER_LTE_INCLUDE_FILES += \
58 /usr/local/lib/libdarwintest_utils.dylib
59
60OTHER_CFLAGS := -DDARWINTEST -Weverything \
61 -Wno-vla -Wno-bad-function-cast -Wno-missing-noreturn \
62 -Wno-missing-field-initializers -Wno-format-pedantic \
63 -Wno-gnu-folding-constant -Wno-used-but-marked-unused
64OTHER_LDFLAGS := -ldarwintest_utils
65
66#TARGETS += main_stack_legacy // Disabled by default due to linker warnings
67#main_stack_legacy: OTHER_LDFLAGS += -Wl,-stack_addr,0xc1000000 -Wl,-stack_size,0x0f00000
68#main_stack_legacy: OTHER_CFLAGS += -DSTACKSIZE=0x0f00000
69#main_stack_legacy: ARCH_FLAGS = -arch i386
70#main_stack_legacy: DEPLOYMENT_TARGET_FLAGS = -mmacosx-version-min=10.7
71
72main_stack_custom: OTHER_LDFLAGS += -Wl,-stack_size,0x124000
73main_stack_custom: OTHER_CFLAGS += -DSTACKSIZE=0x124000
74
75bsdthread_set_self: OTHER_CFLAGS += -D_DARWIN_FEATURE_CLOCK_GETTIME
76
77include $(DEVELOPER_DIR)/AppleInternal/Makefiles/darwintest/Makefile.targets