Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions clang/test/Format/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import platform
import lit.formats

# Suffixes supported by clang-format.
config.suffixes = [
".c",
Expand All @@ -19,3 +22,8 @@ config.suffixes = [
".td",
".test"
]

# AIX 'diff' command doesn't support --strip-trailing-cr, but the internal
# python implementation does, so use that for cross platform compatibility
if platform.system() == "AIX":
config.test_format = lit.formats.ShTest()
Comment on lines +28 to +29
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not for all platforms? cc @boomanaiden154

Loading