[Lldb-commits] [lldb] a220026 - [lldb][Test] TestRerunAndExpr.py: skip on Windows
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Mon Dec 5 18:16:46 PST 2022
Author: Michael Buch
Date: 2022-12-06T02:16:31Z
New Revision: a22002635ddfa10033ed56c8308a4d5bf56979dd
URL: https://github.com/llvm/llvm-project/commit/a22002635ddfa10033ed56c8308a4d5bf56979dd
DIFF: https://github.com/llvm/llvm-project/commit/a22002635ddfa10033ed56c8308a4d5bf56979dd.diff
LOG: [lldb][Test] TestRerunAndExpr.py: skip on Windows
On Windows rebuilding the binary isn't enough to unload it
on progrem restart. But the assumption of the test is that on
program re-run LLDB destroys and replaces the old module with
the newly built version. One will have to try hard to evict the
module from the ModuleList (possibly including a call to
`SBDebugger::MemoryPressureDetected`.
See D138724
Added:
Modified:
lldb/test/API/functionalities/rerun_and_expr/TestRerunAndExpr.py
Removed:
################################################################################
diff --git a/lldb/test/API/functionalities/rerun_and_expr/TestRerunAndExpr.py b/lldb/test/API/functionalities/rerun_and_expr/TestRerunAndExpr.py
index ebf26e50091b3..192e13151a954 100644
--- a/lldb/test/API/functionalities/rerun_and_expr/TestRerunAndExpr.py
+++ b/lldb/test/API/functionalities/rerun_and_expr/TestRerunAndExpr.py
@@ -7,8 +7,14 @@
import lldb
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
+from lldbsuite.test.decorators import *
class TestRerunExpr(TestBase):
+ # FIXME: on Windows rebuilding the binary isn't enough to unload it
+ # on progrem restart. One will have to try hard to evict
+ # the module from the ModuleList (possibly including a call to
+ # SBDebugger::MemoryPressureDetected.
+ @skipIfWindows
def test(self):
"""
Tests whether re-launching a process without destroying
More information about the lldb-commits
mailing list