forked from OSchip/llvm-project
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:
parent
1b946bf636
commit
064d7f5e4e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue