From 7fce877aa508e8e99cd56fdeccbc06d15b2ac7c7 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Fri, 1 Oct 2010 23:34:28 +0000 Subject: [PATCH] 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. llvm-svn: 115380 --- lldb/test/foundation/TestObjCMethods.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lldb/test/foundation/TestObjCMethods.py b/lldb/test/foundation/TestObjCMethods.py index b166659f07c3..eb1c838f6e16 100644 --- a/lldb/test/foundation/TestObjCMethods.py +++ b/lldb/test/foundation/TestObjCMethods.py @@ -108,8 +108,9 @@ class FoundationTestCase(TestBase): '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.