From: Michael Buch Date: Thu, 15 Dec 2022 04:01:21 +0000 (+0000) Subject: [lldb][Test] TestRerunAndExpr.py: explicitly delete a.out before rebuilding it X-Git-Tag: upstream/17.0.6~23749 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a0829d83fc6d1701940ad9f429b6ae47009f369;p=platform%2Fupstream%2Fllvm.git [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 --- 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 93e5862..fb4cc32 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 @@ class TestRerunExprDylib(TestBase): 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',