@@ -20,24 +20,36 @@ check_PROGRAMS= \
20
20
21
21
noinst_SCRIPTS =leaks-wrapper.sh
22
22
23
+ # Tests that have not been ported to Linux
24
+ # because they test unsupported functionality.
23
25
UNPORTED_TESTS = \
24
26
dispatch_deadname \
25
27
dispatch_proc \
26
28
dispatch_vm \
27
29
dispatch_vnode
28
30
29
- # Tests that have been disabled as they dont' reliably
30
- # pass or fail (so can't succeed, or run as XFAIL tests)
31
- DISABLED_TESTS = \
31
+ # Tests that usually pass, but occasionally fail
32
+ # and are therefore not suitable for general CI usage.
33
+ UNRELIABLE_TESTS = \
32
34
dispatch_priority \
33
35
dispatch_priority2 \
36
+ dispatch_concur \
34
37
dispatch_read \
35
38
dispatch_read2 \
39
+ dispatch_suspend_timer \
36
40
dispatch_pingpong \
37
41
dispatch_drift \
42
+ dispatch_readsync \
38
43
dispatch_cascade \
39
44
dispatch_io
40
45
46
+ if EXTENDED_TEST_SUITE
47
+ ADDITIONAL_TESTS = $(UNRELIABLE_TESTS )
48
+ else
49
+ ADDITIONAL_TESTS =
50
+ endif
51
+
52
+ # The set of tests that will be run by 'make check'
41
53
TESTS = \
42
54
dispatch_apply \
43
55
dispatch_api \
@@ -53,58 +65,15 @@ TESTS= \
53
65
dispatch_timer_short \
54
66
dispatch_timer_timeout \
55
67
dispatch_sema \
56
- dispatch_suspend_timer \
57
68
dispatch_timer_bit31 \
58
69
dispatch_timer_bit63 \
59
70
dispatch_timer_set_time \
60
71
dispatch_starfish \
61
72
dispatch_data \
62
73
dispatch_io_net \
63
- dispatch_select
64
-
65
- # List tests that are expected to fail here.
66
- # Currently dispatch_concur fails occasionally, but passes more often than fails.
67
- XFAIL_TESTS = \
68
- dispatch_concur \
69
- dispatch_readsync
74
+ dispatch_select \
75
+ $(ADDITIONAL_TESTS )
70
76
71
- ORIGINAL_LIST_OF_TESTS = \
72
- dispatch_apply \
73
- dispatch_api \
74
- dispatch_c99 \
75
- dispatch_deadname \
76
- dispatch_debug \
77
- dispatch_queue_finalizer \
78
- dispatch_group \
79
- dispatch_overcommit \
80
- dispatch_pingpong \
81
- dispatch_plusplus \
82
- dispatch_priority \
83
- dispatch_priority2 \
84
- dispatch_concur \
85
- dispatch_context_for_key \
86
- dispatch_proc \
87
- dispatch_read \
88
- dispatch_read2 \
89
- dispatch_after \
90
- dispatch_timer \
91
- dispatch_timer_short \
92
- dispatch_timer_timeout \
93
- dispatch_sema \
94
- dispatch_suspend_timer \
95
- dispatch_timer_bit31 \
96
- dispatch_timer_bit63 \
97
- dispatch_timer_set_time \
98
- dispatch_starfish \
99
- dispatch_cascade \
100
- dispatch_drift \
101
- dispatch_readsync \
102
- dispatch_data \
103
- dispatch_io \
104
- dispatch_io_net \
105
- dispatch_vm \
106
- dispatch_vnode \
107
- dispatch_select
108
77
109
78
dispatch_c99_CFLAGS =$(DISPATCH_TESTS_CFLAGS ) $(CBLOCKS_FLAGS ) $(KQUEUE_CFLAGS ) -std=c99
110
79
dispatch_plusplus_SOURCES =dispatch_plusplus.cpp
0 commit comments