Fix the @expectedFailure usage error and add a commented out section of code to
exercise 'expression' command on namespaced variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118867 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/namespace/TestNamespace.py b/test/namespace/TestNamespace.py
index c6b4b50..1c05a80 100644
--- a/test/namespace/TestNamespace.py
+++ b/test/namespace/TestNamespace.py
@@ -17,7 +17,8 @@
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 @@
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