diff options
author | Michal Gorny <mgorny@gentoo.org> | 2018-10-11 11:58:07 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2018-10-11 11:58:07 +0000 |
commit | c37d16140a8e2ba36929a5b11b53d5477460b96c (patch) | |
tree | 31322b9c237cfe78eaec4d5ff74e7ae7e5c90d46 /clang/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp | |
parent | 8066198442da16027a646c56d3c87ca0ba3fcb86 (diff) | |
download | bcm5719-llvm-c37d16140a8e2ba36929a5b11b53d5477460b96c.tar.gz bcm5719-llvm-c37d16140a8e2ba36929a5b11b53d5477460b96c.zip |
[python] [tests] Support overriding library path via environment
Support a new CLANG_LIBRARY_PATH environment variable for the Python
binding tests. This variable can be used to force the bindings to load
libclang.* from a specific directory.
I plan to use this when integrating Python binding tests with the CMake
build system. Currently, those tests load libclang.so from default
search paths, so I would have to rely on platform-specific mechanics
such as LD_LIBRARY_PATH. Instead of copying the whole logic necessary
to handle platform differences into yet another place, it's easier to
just add a dedicated variable for this purpose.
Differential Revision: https://reviews.llvm.org/D52806
llvm-svn: 344240
Diffstat (limited to 'clang/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp')
0 files changed, 0 insertions, 0 deletions