We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c98e79d commit 2a0091fCopy full SHA for 2a0091f
clang/test/Format/lit.local.cfg
@@ -1,3 +1,6 @@
1
+import platform
2
+import lit.formats
3
+
4
# Suffixes supported by clang-format.
5
config.suffixes = [
6
".c",
@@ -19,3 +22,8 @@ config.suffixes = [
19
22
".td",
20
23
".test"
21
24
]
25
26
+# AIX 'diff' command doesn't support --strip-trailing-cr, but the internal
27
+# python implementation does, so use that for cross platform compatibility
28
+if platform.system() == "AIX":
29
+ config.test_format = lit.formats.ShTest()
0 commit comments