[Lldb-commits] [lldb] r155467 - /lldb/branches/lldb-platform-work/test/macosx/universal/TestUniversal.py

Johnny Chen johnny.chen at apple.com
Tue Apr 24 11:51:29 PDT 2012


Author: johnny
Date: Tue Apr 24 13:51:29 2012
New Revision: 155467

URL: http://llvm.org/viewvc/llvm-project?rev=155467&view=rev
Log:
Add expectedFailure decorator for UniversalTestCase.test_process_launch_for_universal.

Modified:
    lldb/branches/lldb-platform-work/test/macosx/universal/TestUniversal.py

Modified: lldb/branches/lldb-platform-work/test/macosx/universal/TestUniversal.py
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/lldb-platform-work/test/macosx/universal/TestUniversal.py?rev=155467&r1=155466&r2=155467&view=diff
==============================================================================
--- lldb/branches/lldb-platform-work/test/macosx/universal/TestUniversal.py (original)
+++ lldb/branches/lldb-platform-work/test/macosx/universal/TestUniversal.py Tue Apr 24 13:51:29 2012
@@ -34,7 +34,8 @@
         process = target.LaunchSimple(None, None, os.getcwd())
         self.assertTrue(process, PROCESS_IS_VALID)
 
-    # rdar://problem/8972204 AddressByteSize of 32-bit process should be 4, got 8 instead.
+    # rdar://problem/11310502
+    @unittest2.expectedFailure
     @unittest2.skipUnless(sys.platform.startswith("darwin") and os.uname()[4] in ['i386', 'x86_64'],
                           "requires Darwin & i386")
     def test_process_launch_for_universal(self):
@@ -95,6 +96,7 @@
         self.assertTrue(target and process,
                         "32-bit process launched")
 
+        # rdar://problem/11310502
         pointerSize = self.invoke(process, 'GetAddressByteSize')
         self.assertTrue(pointerSize == 4,
                         "AddressByteSize of 32-bit process should be 4, got %d instead." % pointerSize)





More information about the lldb-commits mailing list