[Lldb-commits] [lldb] r286360 - Fix expectation in TestStaticVariables.py after rL286302
Tamas Berghammer via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 9 03:52:12 PST 2016
Author: tberghammer
Date: Wed Nov 9 05:52:12 2016
New Revision: 286360
URL: http://llvm.org/viewvc/llvm-project?rev=286360&view=rev
Log:
Fix expectation in TestStaticVariables.py after rL286302
The debug info emitted by clang for static variables improved by
rL286302 and it exposed an incorrect test expactation because now LLDB
able to displays more data 9thanks to better debug info) then before.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py?rev=286360&r1=286359&r2=286360&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py Wed Nov 9 05:52:12 2016
@@ -44,7 +44,7 @@ class StaticVariableTestCase(TestBase):
self.expect(
'target variable A::g_points',
VARIABLES_DISPLAYED_CORRECTLY,
- patterns=['\(PointType \[[1-9]*\]\) A::g_points = {.*}'])
+ patterns=['\(PointType \[[1-9]*\]\) A::g_points = {'])
self.expect('target variable g_points', VARIABLES_DISPLAYED_CORRECTLY,
substrs=['(PointType [2]) g_points'])
More information about the lldb-commits
mailing list