[Lldb-commits] [lldb] r170169 - /lldb/trunk/test/lang/c/struct_types/TestStructTypes.py

Sean Callanan scallanan at apple.com
Thu Dec 13 16:56:57 PST 2012


Author: spyffe
Date: Thu Dec 13 18:56:57 2012
New Revision: 170169

URL: http://llvm.org/viewvc/llvm-project?rev=170169&view=rev
Log:
Made the struct test case actually use an expression
instead of falling through to the "frame variable"
code.

Modified:
    lldb/trunk/test/lang/c/struct_types/TestStructTypes.py

Modified: lldb/trunk/test/lang/c/struct_types/TestStructTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/struct_types/TestStructTypes.py?rev=170169&r1=170168&r2=170169&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/struct_types/TestStructTypes.py (original)
+++ lldb/trunk/test/lang/c/struct_types/TestStructTypes.py Thu Dec 13 18:56:57 2012
@@ -82,7 +82,7 @@
             DATA_TYPES_DISPLAYED_CORRECTLY,
             substrs = ["pt.padding[1] = '"])
         # Test zero length array access and make sure it succeeds with "expression"
-        self.expect("expression -- pt.padding[0]",
+        self.expect("expression -- (pt.padding[0])",
             DATA_TYPES_DISPLAYED_CORRECTLY,
             substrs = ["(char)", " = '"])
 





More information about the lldb-commits mailing list