[PATCH] D141248: [Clang] [Python] Fix tests when default config file contains -include
Sam James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 8 23:09:10 PST 2023
thesamesam updated this revision to Diff 487295.
thesamesam added a comment.
Set CLANG_NO_DEFAULT_CONFIG in environment instead to reduce
cat-and-mouse issues.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141248/new/
https://reviews.llvm.org/D141248
Files:
clang/bindings/python/tests/cindex/util.py
Index: clang/bindings/python/tests/cindex/util.py
===================================================================
--- clang/bindings/python/tests/cindex/util.py
+++ clang/bindings/python/tests/cindex/util.py
@@ -77,6 +77,7 @@
return cursors
+os.environ["CLANG_NO_DEFAULT_CONFIG"] = "1"
skip_if_no_fspath = unittest.skipUnless(HAS_FSPATH,
"Requires file system path protocol / Python 3.6+")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141248.487295.patch
Type: text/x-patch
Size: 447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230109/2539b1b1/attachment.bin>
More information about the cfe-commits
mailing list