summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/api
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2018-02-06 18:22:51 +0000
committerAdrian Prantl <aprantl@apple.com>2018-02-06 18:22:51 +0000
commit332351d9b98f993e4d0eb83a98ff4d4bb619b541 (patch)
tree342ad2040a651b28809035213b74aa0719f4910b /lldb/packages/Python/lldbsuite/test/api
parent2f6412c38962193f085f7830fd54e693579a35d2 (diff)
downloadbcm5719-llvm-332351d9b98f993e4d0eb83a98ff4d4bb619b541.tar.gz
bcm5719-llvm-332351d9b98f993e4d0eb83a98ff4d4bb619b541.zip
Build each testcase variant in its own subdirectory and remove the srcdir lock file
This patch creates a <test>.dwarf, <test>.dwo, etc., build directory for each testcase variant. Most importantly, this eliminates the need for the per-test lock file in the source directory. Tests that are marked as NO_DEBUG_INFO_TESTCASE and build with buildDefault() are built in a <test>.default build directory. Differential Revision: https://reviews.llvm.org/D42763 llvm-svn: 324368
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/api')
-rw-r--r--lldb/packages/Python/lldbsuite/test/api/listeners/TestListener.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/api/listeners/TestListener.py b/lldb/packages/Python/lldbsuite/test/api/listeners/TestListener.py
index 760a379bc24..6b6a37e5a6b 100644
--- a/lldb/packages/Python/lldbsuite/test/api/listeners/TestListener.py
+++ b/lldb/packages/Python/lldbsuite/test/api/listeners/TestListener.py
@@ -23,10 +23,10 @@ class ListenToModuleLoadedEvents (TestBase):
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
- self.build()
def test_receiving_breakpoint_added(self):
"""Test that we get breakpoint added events, waiting on event classes on the debugger"""
+ self.build()
my_listener = lldb.SBListener("test_listener")
OpenPOWER on IntegriCloud