[Lldb-commits] [lldb] r137542 - /lldb/trunk/test/macosx/universal/TestUniversal.py

Johnny Chen johnny.chen at apple.com
Fri Aug 12 17:27:46 PDT 2011


Author: johnny
Date: Fri Aug 12 19:27:46 2011
New Revision: 137542

URL: http://llvm.org/viewvc/llvm-project?rev=137542&view=rev
Log:
Modify the skipUnless() logic to work for OSX Lion.

Modified:
    lldb/trunk/test/macosx/universal/TestUniversal.py

Modified: lldb/trunk/test/macosx/universal/TestUniversal.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/macosx/universal/TestUniversal.py?rev=137542&r1=137541&r2=137542&view=diff
==============================================================================
--- lldb/trunk/test/macosx/universal/TestUniversal.py (original)
+++ lldb/trunk/test/macosx/universal/TestUniversal.py Fri Aug 12 19:27:46 2011
@@ -16,7 +16,7 @@
         self.line = line_number('main.c', '// Set break point at this line.')
 
     # rdar://problem/8972204 AddressByteSize of 32-bit process should be 4, got 8 instead.
-    @unittest2.skipUnless(sys.platform.startswith("darwin") and os.uname()[4]=='i386',
+    @unittest2.skipUnless(sys.platform.startswith("darwin") and os.uname()[4] in ['i386', 'x86_64'],
                           "requires Darwin & i386")
     def test_process_launch_for_universal(self):
         """Test process launch of a universal binary."""





More information about the lldb-commits mailing list