Skip to content

Commit 17831bb

Browse files
committed
[LLVM][lit] add system-cygwin feature
There are a few tests in clang that gate on system-windows but also don't work on Cygwin, so add a system-cygwin feature for them to use.
1 parent 47f54e4 commit 17831bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/utils/lit/lit/llvm/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ def __init__(self, lit_config, config):
107107
features.add("system-solaris")
108108
elif platform.system() == "OS/390":
109109
features.add("system-zos")
110+
elif sys.platform == "cygwin":
111+
features.add("system-cygwin")
110112

111113
# Native compilation: host arch == default triple arch
112114
# Both of these values should probably be in every site config (e.g. as

0 commit comments

Comments
 (0)