Skip to content

Commit 3902476

Browse files
[clang] Remove shell requirements from tests
Most of these tests do not actually have a shell requirement. The shell requirement ended up in the test either from cargo culting (from what I can tell) or because the test authors actually meant to mark Windows as unsupported. This prevents enablement of lit's internal shell within clang. Towards #102699. Reviewers: rnk, efriedma-quic, Sirraide, petrhosek, ilovepi Reviewed By: ilovepi Pull Request: llvm/llvm-project#156905
1 parent ca34b2c commit 3902476

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lit/llvm/config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ def __init__(self, lit_config, config):
198198
if gmalloc_path_str is not None:
199199
self.with_environment("DYLD_INSERT_LIBRARIES", gmalloc_path_str)
200200

201+
if not platform.system() == "Windows":
202+
features.add("symlinks")
203+
201204
def _find_git_windows_unix_tools(self, tools_needed):
202205
assert sys.platform == "win32"
203206
import winreg

0 commit comments

Comments
 (0)