summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/driver
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2018-07-28 11:09:23 +0000
committerDimitry Andric <dim@FreeBSD.org>2018-07-28 11:09:23 +0000
commitf73363f1dd94996356cefbf24388f561891acf0b (patch)
treee3c31248bdb36eaec5fd833490d4278162dba2a0 /packages/Python/lldbsuite/test/driver
parent160ee69dd7ae18978f4068116777639ea98dc951 (diff)
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/driver')
-rw-r--r--packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py b/packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py
index 8699b31f9929..f2dc5281f137 100644
--- a/packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py
+++ b/packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py
@@ -46,7 +46,7 @@ class DriverBatchModeTest (TestBase):
self.setTearDownCleanup()
import pexpect
- exe = os.path.join(os.getcwd(), "a.out")
+ exe = self.getBuildArtifact("a.out")
prompt = "(lldb) "
# Pass CRASH so the process will crash and stop in batch mode.
@@ -86,7 +86,7 @@ class DriverBatchModeTest (TestBase):
self.setTearDownCleanup()
import pexpect
- exe = os.path.join(os.getcwd(), "a.out")
+ exe = self.getBuildArtifact("a.out")
prompt = "(lldb) "
# Now do it again, and make sure if we don't crash, we quit:
@@ -129,7 +129,7 @@ class DriverBatchModeTest (TestBase):
self.setTearDownCleanup()
import pexpect
- exe = os.path.join(os.getcwd(), "a.out")
+ exe = self.getBuildArtifact("a.out")
prompt = "(lldb) "
# Finally, start up the process by hand, attach to it, and wait for its completion.