Skip to content

Commit 0957ca6

Browse files
authored
Merge pull request #10805 from cheshire/forgotten_env_prefixes
2 parents 8aebd40 + 080e07c commit 0957ca6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/lit.cfg

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,12 @@ else:
908908
# propagated to the calling contexts.
909909
# In order to make tests OS-agnostic, names of environment variables should be
910910
# prefixed with `%env-`, which is then expanded to the appropriate prefix.
911-
ENV_VAR_PREFIXES = {'iphonesimulator': 'SIMCTL_CHILD_'}
911+
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+
}
912917
config.substitutions.append(('%env-', ENV_VAR_PREFIXES.get(config.target_sdk_name, "")))
913918
config.substitutions.append(("%target-sdk-name", config.target_sdk_name))
914919

0 commit comments

Comments
 (0)