Skip 32-bit testing of check_public_api_headers (on all platforms, not just Mac OS X)
authorDaniel Malea <daniel.malea@intel.com>
Thu, 24 Jan 2013 21:01:12 +0000 (21:01 +0000)
committerDaniel Malea <daniel.malea@intel.com>
Thu, 24 Jan 2013 21:01:12 +0000 (21:01 +0000)
- since the test program needs to link with LLDB, the test is invalid in 32-bit mode.

llvm-svn: 173372

lldb/test/api/check_public_api_headers/TestPublicAPIHeaders.py

index 2b50c8b..b7a9106 100644 (file)
@@ -21,8 +21,8 @@ class SBDirCheckerCase(TestBase):
     def test_sb_api_directory(self):
         """Test the SB API directory and make sure there's no unwanted stuff."""
 
-        if sys.platform.startswith("darwin") and self.getArchitecture() == "i386":
-            self.skipTest("LLDB.framework built 64-bit")
+        if self.getArchitecture() == "i386":
+            self.skipTest("LLDB is 64-bit and cannot be linked to 32-bit test program.")
 
         # Call the program generator to produce main.cpp.
         self.generate_main_cpp()