Skip to content

Commit 4332bc8

Browse files
committed
guard for AIX only
1 parent a7a85bf commit 4332bc8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/test/TableGen/lit.local.cfg

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
import platform
12
import lit.formats
23

34
config.suffixes = [".td"]
45
config.excludes = ["Common", "Inputs"]
56

67
# AIX 'diff' command doesn't support --strip-trailing-cr, but the internal
78
# python implementation does, so use that for cross platform compatibility
8-
config.test_format = lit.formats.ShTest()
9+
if platform.system() == "AIX":
10+
config.test_format = lit.formats.ShTest()

0 commit comments

Comments
 (0)