mirror of
https://github.com/intel/llvm.git
synced 2026-01-23 16:06:39 +08:00
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. llvm-svn: 286360
This commit is contained in:
@@ -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'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user