File tree Expand file tree Collapse file tree 3 files changed +4
-13
lines changed Expand file tree Collapse file tree 3 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -901,6 +901,10 @@ if 'swift_evolve' in lit_config.params:
901
901
if not 'swift_driver' in lit_config .params :
902
902
config .available_features .add ("cplusplus_driver" )
903
903
904
+ # SwiftCompilerSources are now always enabled:
905
+ # TODO: remove all the `REQUIRES: swift_in_compiler` in tests
906
+ config .available_features .add ('swift_in_compiler' )
907
+
904
908
# Check if we need to run lit tests using the legacy driver or the new driver
905
909
# The default for existing test runs is to use the legacy driver.
906
910
# The new driver is tested separately.
Original file line number Diff line number Diff line change @@ -166,16 +166,6 @@ config.swift_stdlib_enable_objc_interop = "@SWIFT_STDLIB_ENABLE_OBJC_INTEROP@" =
166
166
# Configured in DarwinSDKs.cmake
167
167
config .freestanding_sdk_name = "@SWIFT_SDK_FREESTANDING_LIB_SUBDIR@"
168
168
169
- if "@BOOTSTRAPPING_MODE@" != "OFF" :
170
- config .available_features .add ('swift_in_compiler' )
171
-
172
- if "@BOOTSTRAPPING_MODE@" == 'HOSTTOOLS' :
173
- config .available_features .add ('hosttools_mode' )
174
- elif "@BOOTSTRAPPING_MODE@" == 'BOOTSTRAPPING' :
175
- config .available_features .add ('bootstrapping_mode' )
176
- elif "@BOOTSTRAPPING_MODE@" == 'BOOTSTRAPPING-WITH-HOSTLIBS' :
177
- config .available_features .add ('bootstrapping_with_hostlibs_mode' )
178
-
179
169
if '@SWIFT_BUILD_SWIFT_SYNTAX@' == 'TRUE' :
180
170
config .available_features .add ('swift_swift_parser' )
181
171
Original file line number Diff line number Diff line change @@ -145,9 +145,6 @@ config.swift_stdlib_enable_objc_interop = "@SWIFT_STDLIB_ENABLE_OBJC_INTEROP@" =
145
145
# Configured in DarwinSDKs.cmake
146
146
config .freestanding_sdk_name = "@SWIFT_SDK_FREESTANDING_LIB_SUBDIR@"
147
147
148
- if "@BOOTSTRAPPING_MODE@" != "OFF" :
149
- config .available_features .add ('swift_in_compiler' )
150
-
151
148
# Let the main config do the real work.
152
149
config .test_exec_root = os .path .dirname (os .path .realpath (__file__ ))
153
150
lit_config .load_config (config , "@SWIFT_SOURCE_DIR@/validation-test/lit.cfg" )
You can’t perform that action at this time.
0 commit comments