[Lldb-commits] [lldb] r327483 - Skip TestWatchedVarHitWhenInScope.py everywhere
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 14 02:13:33 PDT 2018
Date: Wed Mar 14 02:13:33 2018
New Revision: 327483
Skip TestWatchedVarHitWhenInScope.py everywhere
The expression-hits tracking logic is not available on any platform. The
reason this tests happens to pass on some platforms is that the test is
written poorly -- it relies on the fact that post-main cleanup code will
write to the stack memory once occupied by the watched variable, but
this is not the case everywhere (e.g. linux glibc does not seem to do
this, but android's bionic library does).
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py Wed Mar 14 02:13:33 2018
@@ -23,8 +23,6 @@ class WatchedVariableHitWhenInScopeTestC
# but the way this was done was incorrect, and it is unclear that for the
# most part that's not what folks mostly want, so we have to provide a
# clearer API to express this.
- # This functionality is currently unsupported on Darwin.
# Call super's setUp().
@@ -36,7 +34,7 @@ class WatchedVariableHitWhenInScopeTestC
# Test hangs due to a kernel bug, see fdfeff0f in the linux kernel for details
@skipIfTargetAndroid(api_levels=list(range(25+1)), archs=["aarch64", "arm"])
"""Test that a variable watchpoint should only hit when in scope."""
More information about the lldb-commits