Skip to content

Commit 7aca4f5

Browse files
authored
Merge pull request #5886 from Michael137/bugfix/lldb-dylib-reload-build-fix-to-20220421
[lldb][Test] TestRerunAndExpr.py: explicitly delete a.out before rebuilding it
2 parents 8b93efb + ee406f9 commit 7aca4f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ def test(self):
5252
ValueCheck(name='m_val', value='42')
5353
])
5454

55+
# Delete the dylib to force make to rebuild it.
56+
remove_file(self.getBuildArtifact(FULL_DYLIB_NAME))
57+
5558
# Re-build libfoo.dylib
5659
self.build(dictionary={'DYLIB_CXX_SOURCES':'rebuild.cpp',
5760
'DYLIB_ONLY':'YES',

0 commit comments

Comments
 (0)