[clang] c96ee0f - fix update-verify-tests test suite for AIX (#108871)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 16 18:39:35 PDT 2024
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()
More information about the cfe-commits
mailing list