summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py
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/lang/c/anonymous/TestAnonymous.py
parent160ee69dd7ae18978f4068116777639ea98dc951 (diff)
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py')
-rw-r--r--packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py b/packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py
index 6d5f61ebb8bba..930a09412eabf 100644
--- a/packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py
+++ b/packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py
@@ -88,7 +88,7 @@ class AnonymousTestCase(TestBase):
self.dbg.SetAsync(False)
# Create a target
- exe = os.path.join(os.getcwd(), "a.out")
+ exe = self.getBuildArtifact("a.out")
target = self.dbg.CreateTarget(exe)
self.assertTrue(target, VALID_TARGET)
@@ -150,7 +150,7 @@ class AnonymousTestCase(TestBase):
self.dbg.SetAsync(False)
# Create a target
- exe = os.path.join(os.getcwd(), "a.out")
+ exe = self.getBuildArtifact("a.out")
target = self.dbg.CreateTarget(exe)
self.assertTrue(target, VALID_TARGET)