Fix expectation in TestStaticVariables.py after rL286302
authorTamas Berghammer <tberghammer@google.com>
Wed, 9 Nov 2016 11:52:12 +0000 (11:52 +0000)
committerTamas Berghammer <tberghammer@google.com>
Wed, 9 Nov 2016 11:52:12 +0000 (11:52 +0000)
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.

llvm-svn: 286360

lldb/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py

index aab6f4f..10e29e9 100644 (file)
@@ -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'])