1. pygame
  2. Untitled project
  3. pygame

Commits

illume  committed 9bde5b3

Checking to see if a file is on osx... for freetype module building on build bot.

  • Participants
  • Parent commits b03d13f
  • Branches default

Comments (0)

Files changed (1)

File test/font_test.py

View file
         self.failUnless(fnts)
 
 
+
+    def test_has_file_osx_10_5_sdk(self):
+        import os
+        f = "/Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/ft2build.h"
+        self.assertEqual(os.path.exists(f), True)
+
+    def test_has_file_osx_10_4_sdk(self):
+        import os
+        f = "/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/ft2build.h"
+        self.assertEqual(os.path.exists(f), True)
+
+
+
+
+
     def test_get_fonts(self):
         fnts = pygame.font.get_fonts()