Skip to content

Commit c96ee0f

Browse files
authored
fix update-verify-tests test suite for AIX (#108871)
The diff command on AIX doesn't support the --strip-trailing-cr flag. The internal python implementation does, so execute the tests in the update-verify-tests test suite using the internal shell for compatibility.
1 parent f99bb02 commit c96ee0f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/test/utils/update-verify-tests/lit.local.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ else:
2323
"%s %s" % (python, shell_quote(script_path)),
2424
)
2525
)
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+
config.test_format = lit.formats.ShTest()

0 commit comments

Comments
 (0)