We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8aebd40 + 080e07c commit 0957ca6Copy full SHA for 0957ca6
test/lit.cfg
@@ -908,7 +908,12 @@ else:
908
# propagated to the calling contexts.
909
# In order to make tests OS-agnostic, names of environment variables should be
910
# prefixed with `%env-`, which is then expanded to the appropriate prefix.
911
-ENV_VAR_PREFIXES = {'iphonesimulator': 'SIMCTL_CHILD_'}
+SIMULATOR_ENV_PREFIX = 'SIMCTL_CHILD_'
912
+ENV_VAR_PREFIXES = {
913
+ 'iphonesimulator': SIMULATOR_ENV_PREFIX,
914
+ 'watchsimulator': SIMULATOR_ENV_PREFIX,
915
+ 'appletvsimulator': SIMULATOR_ENV_PREFIX
916
+}
917
config.substitutions.append(('%env-', ENV_VAR_PREFIXES.get(config.target_sdk_name, "")))
918
config.substitutions.append(("%target-sdk-name", config.target_sdk_name))
919
0 commit comments