Fix broken testcase: ignore LLDB output that warns about more elements than can be displayed.

- test could be re-written at some point, but right now just trying to clean up known failures for the linux buildbot.

llvm-svn: 175114
This commit is contained in:
Daniel Malea 2013-02-14 00:30:40 +00:00
parent d06a87047d
commit 90e9fd9cbb
1 changed files with 4 additions and 4 deletions

View File

@ -62,8 +62,8 @@ class UniqueTypesTestCase(TestBase):
self.runCmd("frame variable --show-types longs")
output = self.res.GetOutput()
for x in [line.strip() for line in output.split(os.linesep)]:
# Skip empty line or closing brace.
if not x or x == '}':
# Skip empty line, closing brace, and messages about more variables than can be displayed.
if not x or x == '}' or x == '...' or "Some of your variables have more members than the debugger will show by default" in x:
continue
self.expect(x, "Expect type 'long'", exe=False,
substrs = ['long'])
@ -72,8 +72,8 @@ class UniqueTypesTestCase(TestBase):
self.runCmd("frame variable --show-types shorts")
output = self.res.GetOutput()
for x in [line.strip() for line in output.split(os.linesep)]:
# Skip empty line or closing brace.
if not x or x == '}':
# Skip empty line, closing brace, and messages about more variables than can be displayed.
if not x or x == '}' or x == '...' or "Some of your variables have more members than the debugger will show by default" in x:
continue
self.expect(x, "Expect type 'short'", exe=False,
substrs = ['short'])