Fix the @expectedFailure usage error and add a commented out section of code to

exercise 'expression' command on namespaced variables.

llvm-svn: 118867
This commit is contained in:
Johnny Chen 2010-11-12 00:50:45 +00:00
parent 1b946bf636
commit 064d7f5e4e
1 changed files with 5 additions and 1 deletions

View File

@ -17,7 +17,8 @@ class NamespaceTestCase(TestBase):
self.buildDsym()
self.namespace_variable_commands()
@unittest2.expectedFailre("rdar://problem/8659840")
@unittest2.expectedFailure
# rdar://problem/8659840
def test_with_dwarf_and_run_command(self):
"""Test that anonymous and named namespace variables display correctly."""
self.buildDwarf()
@ -59,6 +60,9 @@ class NamespaceTestCase(TestBase):
startstr = "main.cpp:%d: (int) A::B::j = 4" % self.line_var_j)
# main.cpp:19: (int) A::B::j = 4
#self.expect("expression -- i + j",
# startstr = "(int) $0 = 7")
# (int) $0 = 7
if __name__ == '__main__':
import atexit