teak-llvm/lldb/packages/Python/lldbsuite
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
..
support [lldbsuite] Remove unused support files 2019-10-29 16:56:59 -07:00
test dotest: Add a way for the run_to_* helpers to register dylibs 2019-11-15 15:17:27 -08:00
test_event [lldbsuite] Remove unused test_event files 2019-10-29 16:56:59 -07:00
__init__.py
.clang-format