[Lldb-commits] [PATCH] D139643: [lldb][Test] TestRerunAndExpr.py: explicitly delete a.out before rebuilding it

Michael Buch via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 8 09:17:33 PST 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGad3870d65523: [lldb][Test] TestRerunAndExpr.py: explicitly delete a.out before rebuilding it (authored by Michael137).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139643/new/

https://reviews.llvm.org/D139643

Files:
  lldb/test/API/functionalities/rerun_and_expr/TestRerunAndExpr.py


Index: lldb/test/API/functionalities/rerun_and_expr/TestRerunAndExpr.py
===================================================================
--- lldb/test/API/functionalities/rerun_and_expr/TestRerunAndExpr.py
+++ lldb/test/API/functionalities/rerun_and_expr/TestRerunAndExpr.py
@@ -41,6 +41,8 @@
                 ValueCheck(name='m_val', value='42')
             ])
 
+        # Delete the executable to force make to rebuild it.
+        remove_file(exe)
         self.build(dictionary={'CXX_SOURCES':'rebuild.cpp', 'EXE':'a.out'})
 
         # Rerun program within the same target


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139643.481325.patch
Type: text/x-patch
Size: 583 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221208/b5471879/attachment.bin>


More information about the lldb-commits mailing list