diff options
author | Enrico Granata <egranata@apple.com> | 2016-07-19 21:50:39 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2016-07-19 21:50:39 +0000 |
commit | b5ab08bdb1f7e2bc9de4b935a85cd81567e09f2e (patch) | |
tree | 29b07419af6ac46d0a8af2bd1fb87f41af675c64 /lldb/packages/Python/lldbsuite/test | |
parent | 22a0f1a0b96a1388bd92bbb3ea67bdcee101669e (diff) | |
download | bcm5719-llvm-b5ab08bdb1f7e2bc9de4b935a85cd81567e09f2e.tar.gz bcm5719-llvm-b5ab08bdb1f7e2bc9de4b935a85cd81567e09f2e.zip |
Don't check the value of the unset variables on iOS
llvm-svn: 276033
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py index fb3511ebd91..54272e59333 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py @@ -52,13 +52,14 @@ class DataFormatterBoolRefPtr(TestBase): # Execute the cleanup function during test case tear down. self.addTearDownHook(cleanup) + isiOS = (lldbplatformutil.getPlatform() == 'ios') + # Now check that we use the right summary for BOOL& self.expect('frame variable yes_ref', substrs = ['YES']) self.expect('frame variable no_ref', substrs = ['NO']) - self.expect('frame variable unset_ref', - substrs = ['12']) + if not(isiOS): self.expect('frame variable unset_ref', substrs = ['12']) # Now check that we use the right summary for BOOL* @@ -66,8 +67,7 @@ class DataFormatterBoolRefPtr(TestBase): substrs = ['YES']) self.expect('frame variable no_ptr', substrs = ['NO']) - self.expect('frame variable unset_ptr', - substrs = ['12']) + if not(isiOS): self.expect('frame variable unset_ptr', substrs = ['12']) # Now check that we use the right summary for BOOL @@ -75,5 +75,4 @@ class DataFormatterBoolRefPtr(TestBase): substrs = ['YES']) self.expect('frame variable no', substrs = ['NO']) - self.expect('frame variable unset', - substrs = ['12']) + if not(isiOS): self.expect('frame variable unset', substrs = ['12']) |