Skip to content

Commit f69016e

Browse files
committed
[+0-all-args] For staging in purposes, add in a lit feature to distinguish in between tests that must run with a +0/+1 runtime.
This will enable me to have a small commit to enable +0 and the ability to easily revert if needed. It makes sense to do this since +0 is a disruptive change and the number of tests modified is not /that/ big (i.e. ~200). This shouldn't last for more than a week or two. rdar://34222540
1 parent 3ffbc41 commit f69016e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/lit.site.cfg.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ config.available_features.add("CMAKE_GENERATOR=@CMAKE_GENERATOR@")
8989
if "@SWIFT_ENABLE_SOURCEKIT_TESTS@" == "TRUE":
9090
config.available_features.add('sourcekit')
9191

92+
if "@SWIFT_ENABLE_GUARANTEED_NORMAL_ARGUMENTS@" == "FALSE":
93+
config.available_features.add('plus_one_runtime')
94+
else:
95+
config.available_features.add('plus_zero_runtime')
96+
9297
# Let the main config do the real work.
9398
if config.test_exec_root is None:
9499
config.test_exec_root = os.path.dirname(os.path.realpath(__file__))

0 commit comments

Comments
 (0)