diff --git a/lldb/test/macosx/universal/TestUniversal.py b/lldb/test/macosx/universal/TestUniversal.py index c17fa14460f4..193d04eb68ca 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")