diff options
author | Michal Gorny <mgorny@gentoo.org> | 2018-12-21 13:37:30 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2018-12-21 13:37:30 +0000 |
commit | 1e8e4fc83492116e2856fc0a2ed1f94cc3570667 (patch) | |
tree | cddf13f54e8376b2176e544ab2f8491c58cdc164 /lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/nested.cpp | |
parent | b47bd52a30333e20c564ae72cd7466a0907bc9c5 (diff) | |
download | bcm5719-llvm-1e8e4fc83492116e2856fc0a2ed1f94cc3570667.tar.gz bcm5719-llvm-1e8e4fc83492116e2856fc0a2ed1f94cc3570667.zip |
[xray] [tests] Detect and handle missing LLVMTestingSupport gracefully
Add a code to properly test for presence of LLVMTestingSupport library
when performing a stand-alone build, and skip tests requiring it when
it is not present. Since the library is not installed, llvm-config
reported empty --libs for it and the tests failed to link with undefined
references. Skipping the two fdr_* test files is better than failing to
build, and should be good enough until we find a better solution.
NB: both installing LLVMTestingSupport and building it automatically
from within compiler-rt sources are non-trivial. The former due to
dependency on gtest, the latter due to tight integration with LLVM
source tree.
Differential Revision: https://reviews.llvm.org/D55891
llvm-svn: 349899
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/nested.cpp')
0 files changed, 0 insertions, 0 deletions