Author: Henrik G. Olsson Date: 2024-09-16T18:39:31-07:00 New Revision: c96ee0ffaf5ee7afa1f4b0be0662852f57b47244
URL: https://github.com/llvm/llvm-project/commit/c96ee0ffaf5ee7afa1f4b0be0662852f57b47244 DIFF: https://github.com/llvm/llvm-project/commit/c96ee0ffaf5ee7afa1f4b0be0662852f57b47244.diff LOG: 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. Added: Modified: clang/test/utils/update-verify-tests/lit.local.cfg Removed: ################################################################################ diff --git a/clang/test/utils/update-verify-tests/lit.local.cfg b/clang/test/utils/update-verify-tests/lit.local.cfg index a0b6afccc25010..b0eebf337da5c9 100644 --- a/clang/test/utils/update-verify-tests/lit.local.cfg +++ b/clang/test/utils/update-verify-tests/lit.local.cfg @@ -23,3 +23,6 @@ else: "%s %s" % (python, shell_quote(script_path)), ) ) + # AIX ' diff ' command doesn't support --strip-trailing-cr, but the internal + # python implementation does, so use that for cross platform compatibility + config.test_format = lit.formats.ShTest() _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits