[Lldb-commits] [lldb] r115380 - /lldb/trunk/test/foundation/TestObjCMethods.py
Johnny Chen
johnny.chen at apple.com
Fri Oct 1 16:34:28 PDT 2010
Author: johnny
Date: Fri Oct 1 18:34:28 2010
New Revision: 115380
URL: http://llvm.org/viewvc/llvm-project?rev=115380&view=rev
Log:
I committed too fast. Both "struct objc_selector *" and "SEL" are possible,
depending on the compiler used. Former if gcc/llvm-gcc, and latter if clang.
Modified:
lldb/trunk/test/foundation/TestObjCMethods.py
Modified: lldb/trunk/test/foundation/TestObjCMethods.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/foundation/TestObjCMethods.py?rev=115380&r1=115379&r2=115380&view=diff
==============================================================================
--- lldb/trunk/test/foundation/TestObjCMethods.py (original)
+++ lldb/trunk/test/foundation/TestObjCMethods.py Fri Oct 1 18:34:28 2010
@@ -108,8 +108,9 @@
'clang_type = "@interface MyString'])
self.expect("frame variable -s", VARIABLES_DISPLAYED_CORRECTLY,
- substrs = ["ARG: (MyString *) self",
- "ARG: (SEL) _cmd"])
+ substrs = ["ARG: (MyString *) self"],
+ patterns = ["ARG: \(.*\) _cmd",
+ "(struct objc_selector *)|(SEL)"])
# Test new feature with r115115:
# Add "-o" option to "expression" which prints the object description if available.
More information about the lldb-commits
mailing list