commenting parts of std::map test case which would make the test case fail when using TOT clang, but succeed on older compiler releases

llvm-svn: 151309
This commit is contained in:
Enrico Granata 2012-02-23 23:57:43 +00:00
parent dfd306ea3c
commit d2c15e4c8a
1 changed files with 20 additions and 8 deletions

View File

@ -120,8 +120,11 @@ class StdMapDataFormatterTestCase(TestBase):
# check that the expression parser does not make use of
# synthetic children instead of running code
self.expect("expression ii[8]", matching=False, error=True,
substrs = ['1234567'])
# TOT clang has a fix for this, which makes the expression command here succeed
# since this would make the test fail or succeed depending on clang version in use
# this is safer commented for the time being
#self.expect("expression ii[8]", matching=False, error=True,
# substrs = ['1234567'])
self.runCmd("n")
@ -192,8 +195,11 @@ class StdMapDataFormatterTestCase(TestBase):
# check that the expression parser does not make use of
# synthetic children instead of running code
self.expect("expression si[0]", matching=False, error=True,
substrs = ['first = ', 'zero'])
# TOT clang has a fix for this, which makes the expression command here succeed
# since this would make the test fail or succeed depending on clang version in use
# this is safer commented for the time being
#self.expect("expression si[0]", matching=False, error=True,
# substrs = ['first = ', 'zero'])
self.runCmd("n")
@ -250,8 +256,11 @@ class StdMapDataFormatterTestCase(TestBase):
# check that the expression parser does not make use of
# synthetic children instead of running code
self.expect("expression is[0]", matching=False, error=True,
substrs = ['first = ', 'goofy'])
# TOT clang has a fix for this, which makes the expression command here succeed
# since this would make the test fail or succeed depending on clang version in use
# this is safer commented for the time being
#self.expect("expression is[0]", matching=False, error=True,
# substrs = ['first = ', 'goofy'])
self.runCmd("n")
@ -304,8 +313,11 @@ class StdMapDataFormatterTestCase(TestBase):
# check that the expression parser does not make use of
# synthetic children instead of running code
self.expect("expression ss[3]", matching=False, error=True,
substrs = ['gatto'])
# TOT clang has a fix for this, which makes the expression command here succeed
# since this would make the test fail or succeed depending on clang version in use
# this is safer commented for the time being
#self.expect("expression ss[3]", matching=False, error=True,
# substrs = ['gatto'])
self.runCmd("n")