diff options
Diffstat (limited to 'lldb/test/lang/objc/modules/TestObjCModules.py')
| -rw-r--r-- | lldb/test/lang/objc/modules/TestObjCModules.py | 8 | 
1 files changed, 7 insertions, 1 deletions
| diff --git a/lldb/test/lang/objc/modules/TestObjCModules.py b/lldb/test/lang/objc/modules/TestObjCModules.py index b6628774088..0892b91db0f 100644 --- a/lldb/test/lang/objc/modules/TestObjCModules.py +++ b/lldb/test/lang/objc/modules/TestObjCModules.py @@ -67,9 +67,15 @@ class ObjCModulesTestCase(TestBase):          self.common_setup() -        self.expect("expr @import Foundation; 3", VARIABLES_DISPLAYED_CORRECTLY, +        self.expect("expr @import Darwin; 3", VARIABLES_DISPLAYED_CORRECTLY,              substrs = ["int", "3"]) +        self.expect("expr getpid()", VARIABLES_DISPLAYED_CORRECTLY, +            substrs = ["pid_t"]) + +        self.expect("expr @import Foundation; 4", VARIABLES_DISPLAYED_CORRECTLY, +            substrs = ["int", "4"]) +          self.expect("expr string.length", VARIABLES_DISPLAYED_CORRECTLY,              substrs = ["NSUInteger", "5"]) | 

