summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/macosx/universal/TestUniversal.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/lldb/test/macosx/universal/TestUniversal.py b/lldb/test/macosx/universal/TestUniversal.py
index c17fa14460f..193d04eb68c 100644
--- a/lldb/test/macosx/universal/TestUniversal.py
+++ b/lldb/test/macosx/universal/TestUniversal.py
@@ -67,10 +67,13 @@ class UniversalTestCase(TestBase):
# Check whether we have a 32-bit process launched.
target = self.dbg.GetSelectedTarget()
process = target.GetProcess()
- self.assertTrue(target.IsValid() and process.IsValid() and
- self.invoke(process, 'GetAddressByteSize') == 4,
+ self.assertTrue(target.IsValid() and process.IsValid(),
"32-bit process launched")
+ pointerSize = self.invoke(process, 'GetAddressByteSize')
+ self.assertTrue(pointerSize == 4,
+ "AddressByteSize of 32-bit process should be 4, got %d instead." % pointerSize)
+
self.runCmd("continue")
OpenPOWER on IntegriCloud