Skip to content

Commit e249c51

Browse files
[lldb-dap][test] create temp source file in test directory. (llvm#163383)
Fixes llvm#163288 --------- Co-authored-by: Jonas Devlieghere <[email protected]>
1 parent 3141bde commit e249c51

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/TestDAP_stackTraceDisassemblyDisplay.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def build_and_run_until_breakpoint(self):
2929
"""
3030
Build the program and run until the breakpoint is hit, and return the stack frames.
3131
"""
32-
other_source_file = "other.c"
32+
other_source_file = self.getBuildArtifact("other.c")
3333
with delete_file_on_exit(other_source_file):
3434
with open(other_source_file, "w") as f:
3535
f.write(OTHER_C_SOURCE_CODE)
@@ -169,3 +169,4 @@ def test_stopDisassemblyDisplay(self):
169169
self.verify_frames_source(
170170
frames, main_frame_assembly=False, other_frame_assembly=False
171171
)
172+
self.continue_to_exit()

0 commit comments

Comments
 (0)