diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2022-07-11 14:03:53 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2022-07-11 14:49:24 -0700 |
commit | ce233e714665a0499fbd0686226e43130d44ef87 (patch) | |
tree | b8669aa61dd47ee2f389a68f5b13c9b99f4dc8aa /lldb/packages/Python/lldbsuite/test/dotest.py | |
parent | faa00c131351725d8db74bac6a06459430344455 (diff) | |
download | llvm-ce233e714665a0499fbd0686226e43130d44ef87.zip llvm-ce233e714665a0499fbd0686226e43130d44ef87.tar.gz llvm-ce233e714665a0499fbd0686226e43130d44ef87.tar.bz2 |
[lldb] Use the just-built libc++ for testing the LLDB data formatters
Make sure we use the libc++ from the build dir. Currently, by passing
-stdlib=libc++, we might pick up the system libc++. This change ensures
that if LLVM_LIBS_DIR is set, we try to use the libc++ from there.
Differential revision: https://reviews.llvm.org/D129166
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index a9ca741..ee59500 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -281,6 +281,11 @@ def parseOptionsAndInitTestdirs(): logging.warning('No valid FileCheck executable; some tests may fail...') logging.warning('(Double-check the --llvm-tools-dir argument to dotest.py)') + configuration.hermetic_libcxx = args.hermetic_libcxx + if configuration.hermetic_libcxx and args.lldb_platform_name: + configuration.hermetic_libcxx = False + logging.warning('Hermetic libc++ is not supported for remote runs: ignoring --hermetic-libcxx') + if args.channels: lldbtest_config.channels = args.channels |