Author: Michael Buch Date: 2022-12-15T04:05:39Z New Revision: 2a0829d83fc6d1701940ad9f429b6ae47009f369
URL: https://github.com/llvm/llvm-project/commit/2a0829d83fc6d1701940ad9f429b6ae47009f369 DIFF: https://github.com/llvm/llvm-project/commit/2a0829d83fc6d1701940ad9f429b6ae47009f369.diff LOG: [lldb][Test] TestRerunAndExpr.py: explicitly delete a.out before rebuilding it This applies the same fix as in `ad3870d6552305d2d6bd6aa2faca6f0644052d9a` for `TestRerunAndExpr.py` to this test. D138724 Added: Modified: lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py Removed: ################################################################################ diff --git a/lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py b/lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py index 93e586237b99c..fb4cc3248e20f 100644 --- a/lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py +++ b/lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py @@ -53,6 +53,9 @@ def test(self): ValueCheck(name='m_val', value='42') ]) + # Delete the dylib to force make to rebuild it. + remove_file(self.getBuildArtifact(FULL_DYLIB_NAME)) + # Re-build libfoo.dylib self.build(dictionary={'DYLIB_CXX_SOURCES':'rebuild.cpp', 'DYLIB_ONLY':'YES', _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits