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+")


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+")
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to