[Lldb-commits] [lldb] r117668 - /lldb/trunk/test/array_types/TestArrayTypes.py
Johnny Chen
johnny.chen at apple.com
Fri Oct 29 10:31:47 PDT 2010
Author: johnny
Date: Fri Oct 29 12:31:47 2010
New Revision: 117668
URL: http://llvm.org/viewvc/llvm-project?rev=117668&view=rev
Log:
The r117641 check in removed the SBValue's print description of type and size.
Change the test case to not check it for an SBVariable's print description.
Modified:
lldb/trunk/test/array_types/TestArrayTypes.py
Modified: lldb/trunk/test/array_types/TestArrayTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/array_types/TestArrayTypes.py?rev=117668&r1=117667&r2=117668&view=diff
==============================================================================
--- lldb/trunk/test/array_types/TestArrayTypes.py (original)
+++ lldb/trunk/test/array_types/TestArrayTypes.py Fri Oct 29 12:31:47 2010
@@ -151,10 +151,8 @@
# representation.
variable = frame.LookupVar("strings")
var = repr(variable)
- self.expect(var, "Variable for 'strings' looks good with correct type and size", exe=False,
- substrs = ["name: '%s'" % variable.GetName(),
- "type: %s" % variable.GetTypeName(),
- "size: %d" % variable.GetByteSize()])
+ self.expect(var, "Variable for 'strings' looks good with correct name", exe=False,
+ substrs = ["name: '%s'" % variable.GetName()])
self.DebugSBValue(frame, variable)
self.assertTrue(variable.GetNumChildren() == 4,
"Variable 'strings' should have 4 children")
More information about the lldb-commits
mailing list