summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py')
-rw-r--r--packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py b/packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py
index 27821845e2803..b1c8a5ecf4bf8 100644
--- a/packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py
+++ b/packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py
@@ -15,7 +15,7 @@ class CStringsTestCase(TestBase):
def test_with_run_command(self):
"""Tests that C strings work as expected in expressions"""
self.build()
- self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
+ self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
line = line_number('main.c', '// breakpoint 1')
lldbutil.run_break_set_by_file_and_line(