[lldb] [test] Pass LLVM_LIBS_DIR from CMake for linking liblldb
authorMichał Górny <mgorny@gentoo.org>
Fri, 31 Jan 2020 08:35:34 +0000 (09:35 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 5 Feb 2020 17:33:25 +0000 (18:33 +0100)
commitdcab9736f01bc19a4d8011e04b6be46df5942791
treebb1080718664cb6790aa5865891b2dce04e34142
parent096cd991ee90875603a9cacf3b460ac677258539
[lldb] [test] Pass LLVM_LIBS_DIR from CMake for linking liblldb

Pass the correct library directory from CMake to dotest.py when linking
liblldb, instead of trying to reconstruct the path from executable path.
This fixes link failures on platforms having non-null
LLVM_LIBDIR_SUFFIX.

Differential Revision: https://reviews.llvm.org/D73767
lldb/packages/Python/lldbsuite/test/configuration.py
lldb/packages/Python/lldbsuite/test/dotest.py
lldb/packages/Python/lldbsuite/test/dotest_args.py
lldb/packages/Python/lldbsuite/test/lldbtest.py
lldb/test/API/lit.cfg.py
lldb/test/API/lit.site.cfg.py.in