Skip to content

Commit 2070119

Browse files
dgrove-ossdas
authored andcommitted
configure support for extended test suite
Add a configure argument to enable extended test suite. The extended test suite is disabled by default (and thus will not be run in vanilla Swift CI jobs). Move yet another intermittently failing test, dispatch_suspend_timer, out of the list of default tests. Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
1 parent f894844 commit 2070119

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

configure.ac

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,18 @@ AC_SUBST([SWIFT_LIBDIR])
174174
AC_CHECK_PROG(use_gold_linker, ld.gold, true, false)
175175
AM_CONDITIONAL(USE_GOLD_LINKER, $use_gold_linker)
176176

177+
#
178+
# Enable an extended test suite that includes
179+
# tests that are too unreliable to be enabled by
180+
# default in the Swift CI environment, but are still
181+
# useful for libdispatch developers to be able to run.
182+
#
183+
AC_ARG_ENABLE([extended-test-suite],
184+
[AS_HELP_STRING([--enable-extended-test-suite],
185+
[Include additional test cases that may fail intermittently])]
186+
)
187+
AM_CONDITIONAL(EXTENDED_TEST_SUITE, test "x$enable_extended_test_suite" = "xyes")
188+
177189
#
178190
# Enable __thread based TSD on platforms where it is efficient
179191
# Allow override based on command line argument to configure

0 commit comments

Comments
 (0)