diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-01-31 09:35:34 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-02-05 18:33:25 +0100 |
commit | dcab9736f01bc19a4d8011e04b6be46df5942791 (patch) | |
tree | bb1080718664cb6790aa5865891b2dce04e34142 /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | 096cd991ee90875603a9cacf3b460ac677258539 (diff) | |
download | llvm-dcab9736f01bc19a4d8011e04b6be46df5942791.zip llvm-dcab9736f01bc19a4d8011e04b6be46df5942791.tar.gz llvm-dcab9736f01bc19a4d8011e04b6be46df5942791.tar.bz2 |
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/configuration.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/configuration.py b/lldb/packages/Python/lldbsuite/test/configuration.py index 09fc646..91a2234 100644 --- a/lldb/packages/Python/lldbsuite/test/configuration.py +++ b/lldb/packages/Python/lldbsuite/test/configuration.py @@ -136,6 +136,10 @@ rerun_all_issues = False # same base name. all_tests = set() +# LLDB library directory. +lldb_libs_dir = None + + def shouldSkipBecauseOfCategories(test_categories): if use_categories: if len(test_categories) == 0 or len( |