@@ -1954,12 +1954,6 @@ def configure_remote_run():
1954
1954
remote_tmp_dir , 'bin' , swift_reflection_test_name )
1955
1955
config .available_features .add ('remote_run' )
1956
1956
1957
- # Different OS's require different prefixes for the environment variables to be
1958
- # propagated to the calling contexts.
1959
- # In order to make tests OS-agnostic, names of environment variables should be
1960
- # prefixed with `%env-`, which is then expanded to the appropriate prefix.
1961
- config .substitutions .append (('%env-' , config .target_env_prefix ))
1962
-
1963
1957
config .substitutions .append (("%target-sdk-name" , config .target_sdk_name ))
1964
1958
1965
1959
simulator_sdks = [
@@ -2286,6 +2280,12 @@ if platform.system() != 'Darwin' or swift_test_mode == 'optimize_none_with_impli
2286
2280
# When changing substitutions, update docs/Testing.md.
2287
2281
#
2288
2282
2283
+ # Different OS's require different prefixes for the environment variables to be
2284
+ # propagated to the calling contexts.
2285
+ # In order to make tests OS-agnostic, names of environment variables should be
2286
+ # prefixed with `%env-`, which is then expanded to the appropriate prefix.
2287
+ config .substitutions .append (('%env-' , config .target_env_prefix ))
2288
+
2289
2289
config .substitutions .append (('%target-clangxx' , '%s -std=c++11' % config .target_clang ))
2290
2290
config .substitutions .append (('%target-swiftxx-frontend' , '%s -enable-experimental-cxx-interop' % config .target_swift_frontend ))
2291
2291
0 commit comments