teak-llvm/lldb/packages/Python/lldbsuite/test
Fred Riss a578adc1bc dotest: Add a way for the run_to_* helpers to register dylibs
Summary:
To run the testsuite remotely the executable needs to be uploaded to
the target system. The Target takes care of this by default.

When the test uses additional shared libraries, those won't be handled
by default and need to be registered with the target using
test.registerSharedLibrariesWithTarget(target, dylib).

Calling this API requires a target, so it doesn't mesh well with the
run_to_* helpers that we've been advertising as the right way to write
tests.

This patch adds an extra_images argument to all the helpers and does
the registration automatically when running a remote
testsuite. TestWeakSymbols.py was converted to use this new scheme.

Reviewers: jingham

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D70134
2019-11-15 15:17:27 -08:00
..
android/platform [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
api [lldb] [testsuite] Mark TestSBCommandReturnObject as failing on Windows 2019-10-04 20:49:44 +00:00
arm Add arm64_32 support to lldb, an ILP32 codegen 2019-10-16 19:14:49 +00:00
benchmarks [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
commands dotest: Add a way for the run_to_* helpers to register dylibs 2019-11-15 15:17:27 -08:00
driver/batch_mode TestBatchMode.py: add missing @skipIfRemote 2019-11-05 12:22:59 -08:00
functionalities [LLDB][Formatters] Re-enable std::function formatter with fixes to improve non-cached lookup performance 2019-11-12 11:30:18 -08:00
iohandler/completion Skip (more) PExpect tests under ASAN, I can't get them to work reliably. 2019-10-19 00:30:30 +00:00
issue_verification [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
lang [-gmodules] Let LLDB log a warning if the Clang module hash mismatches. 2019-11-15 11:52:13 -08:00
linux Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
macosx Replace tabs with spaces. (NFC) 2019-11-11 12:22:55 -08:00
make [-gmodules] Let LLDB log a warning if the Clang module hash mismatches. 2019-11-15 11:52:13 -08:00
plugins [test] Use a different module cache for Shell and API tests. 2019-10-10 17:27:09 +00:00
python_api [lldb][NFC] Make test/python_api/module_section test smaller 2019-11-04 09:25:01 +01:00
sample_test Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
sanity [test] Fix various module cache bugs and inconsistencies 2019-08-29 18:37:05 +00:00
source-manager [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
terminal [lldb][Editline] Support ctrl+left/right arrow word navigation. 2019-11-14 11:41:11 -08:00
test_runner [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
tools [lldb] Re-enable VSCode tests 2019-11-11 15:59:54 -08:00
types [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
__init__.py
.categories
bench.py [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
concurrent_base.py [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
configuration.py [test] Use a different module cache for Shell and API tests. 2019-10-10 17:27:09 +00:00
darwin_log.py [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
decorators.py [test] Fix apple_simulator_test decorator when simulators are unavailable 2019-11-06 15:14:01 -08:00
dotest_args.py [test] Use a different module cache for Shell and API tests. 2019-10-10 17:27:09 +00:00
dotest.py [test] Use a different module cache for Shell and API tests. 2019-10-10 17:27:09 +00:00
lldb_pylint_helper.py Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
lldbbench.py
lldbdwarf.py Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
lldbinline.py [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
lldbpexpect.py Port TestBatchMode to PExpectTest class 2019-09-04 09:20:08 +00:00
lldbplatform.py [dotest] Remove dead code 2019-07-26 01:58:18 +00:00
lldbplatformutil.py [LLDB] Add core definition for armv8l and armv7l 2019-11-13 05:40:09 +05:00
lldbtest_config.py [dotest] Add the ability to set environment variables for the inferior. 2019-06-26 16:12:08 +00:00
lldbtest.py Testuite: Support Asan test with remote testing 2019-11-06 14:28:48 -08:00
lldbutil.py dotest: Add a way for the run_to_* helpers to register dylibs 2019-11-15 15:17:27 -08:00
lock.py [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
README-TestSuite Reflow readme 2018-12-17 21:18:12 +00:00
redo.py
test_categories.py [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
test_result.py [dotest] Remove -q (quiet) flag. 2019-08-28 16:28:58 +00:00