summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/lldbutil
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2017-09-25 17:31:40 +0000
committerChris Bieneman <beanz@apple.com>2017-09-25 17:31:40 +0000
commit9568a5102edacda134d665fc209f2ae9c5db1f08 (patch)
treebe0c82a9b71fcc0129341483281df92a484ebc02 /lldb/packages/Python/lldbsuite/test/python_api/lldbutil
parentae4de58a5b34f2a2a22d3011a2431b97b050e113 (diff)
downloadbcm5719-llvm-9568a5102edacda134d665fc209f2ae9c5db1f08.tar.gz
bcm5719-llvm-9568a5102edacda134d665fc209f2ae9c5db1f08.zip
Revert "Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. Normal customer devices won't be able to run these devices, we're hoping to get a public facing bot set up at some point. Both devices pass the testsuite without any errors or failures."
This patch has been causing LLDB test failures on ObjC tests. A test log may still be available here: http://lab.llvm.org:8080/green/view/LLDB/job/lldb/1650/ This reverts commit r314038. llvm-svn: 314122
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/lldbutil')
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py22
1 files changed, 10 insertions, 12 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py
index a19cc5c375f..49a78888ad8 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py
@@ -76,18 +76,17 @@ class RegistersIteratorTestCase(TestBase):
REGs = lldbutil.get_ESRs(frame)
if self.platformIsDarwin():
- if self.getArchitecture() != 'armv7' and self.getArchitecture() != 'armv7k':
- num = len(REGs)
+ num = len(REGs)
+ if self.TraceOn():
+ print(
+ "\nNumber of exception state registers: %d" %
+ num)
+ for reg in REGs:
+ self.assertTrue(reg)
if self.TraceOn():
print(
- "\nNumber of exception state registers: %d" %
- num)
- for reg in REGs:
- self.assertTrue(reg)
- if self.TraceOn():
- print(
- "%s => %s" %
- (reg.GetName(), reg.GetValue()))
+ "%s => %s" %
+ (reg.GetName(), reg.GetValue()))
else:
self.assertIsNone(REGs)
@@ -100,8 +99,7 @@ class RegistersIteratorTestCase(TestBase):
REGs = lldbutil.get_registers(
frame, "Exception State Registers")
if self.platformIsDarwin():
- if self.getArchitecture() != 'armv7' and self.getArchitecture() != 'armv7k':
- self.assertIsNotNone(REGs)
+ self.assertIsNotNone(REGs)
else:
self.assertIsNone(REGs)
OpenPOWER on IntegriCloud