summaryrefslogtreecommitdiffstats
path: root/lldb/test/persistent_variables/TestPersistentVariables.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/persistent_variables/TestPersistentVariables.py')
-rw-r--r--lldb/test/persistent_variables/TestPersistentVariables.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/test/persistent_variables/TestPersistentVariables.py b/lldb/test/persistent_variables/TestPersistentVariables.py
index 9f1ea77703a..b0b7170ef2b 100644
--- a/lldb/test/persistent_variables/TestPersistentVariables.py
+++ b/lldb/test/persistent_variables/TestPersistentVariables.py
@@ -13,7 +13,9 @@ class PersistentVariablesTestCase(TestBase):
def test_persistent_variables(self):
"""Test that lldb persistent variables works correctly."""
- self.runCmd("file ../array_types/a.out", CURRENT_EXECUTABLE_SET)
+ self.buildDefault()
+
+ self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
self.runCmd("breakpoint set --name main")
OpenPOWER on IntegriCloud