Skip to content

Commit 28c6197

Browse files
committed
Reduced the list of environment variables to SystemDrive only. We can easily add necessary variables later.
1 parent 17b3338 commit 28c6197

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

lldb/test/API/lit.cfg.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -337,19 +337,6 @@ def delete_module_cache(path):
337337

338338
# Transfer some environment variables into the tests on Windows build host.
339339
if platform.system() == "Windows":
340-
for v in [
341-
"SystemDrive",
342-
"SystemRoot",
343-
"ALLUSERSPROFILE",
344-
"APPDATA",
345-
"LOCALAPPDATA",
346-
"USERDNSDOMAIN",
347-
"USERDOMAIN",
348-
"USERNAME",
349-
"USERPROFILE",
350-
"USERDOMAIN_ROAMINGPROFILE",
351-
"COMPUTERNAME",
352-
"ProgramData",
353-
]:
340+
for v in ["SystemDrive"]:
354341
if v in os.environ:
355342
config.environment[v] = os.environ[v]

0 commit comments

Comments
 (0)