Created attachment 669968 [details] emerge --info [...] FAIL: test_aapolygon (pygame.tests.gfxdraw_test.GfxdrawDefaultTest) aapolygon(surface, points, color): return None ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/pygame-1.9.6-r1/work/pygame-1.9.6-python3_7/test/lib/pygame-1.9.6-py 3.7-linux-ppc64.egg/pygame/tests/gfxdraw_test.py", line 672, in test_aapolygon self.check_at(surf, posn, fg_adjusted) File "/var/tmp/portage/dev-python/pygame-1.9.6-r1/work/pygame-1.9.6-python3_7/test/lib/pygame-1.9.6-py3.7-linux-ppc64.egg/pygame/tests/gfxdraw_test.py", line 49, in check_at self.assertEqual(sc, color, fail_msg) AssertionError: (8, 64, 128, 255) != (128, 64, 8, 255) : (8, 64, 128, 255) != (128, 64, 8, 255) at (10, 15), bitsize: 24, flags: 0, masks: (255, 65280, 16711680, 0) ====================================================================== FAIL: test_from_surface__different_alphas_32bit (pygame.tests.mask_test.MaskModuleTest) Ensures from_surface creates a mask with the correct bits set ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/pygame-1.9.6-r1/work/pygame-1.9.6-python3_7/test/lib/pygame-1.9.6-py3.7-linux-ppc64.egg/pygame/tests/mask_test.py", line 1890, in test_from_surface__different_alphas_32bit self.assertEqual(mask.count(), expected_count, msg) AssertionError: 255 != 223 : threshold=0 ---------------------------------------------------------------------- Ran 954 tests in 14.736s FAILED (failures=2)
Created attachment 669971 [details] build.log
Created attachment 670055 [details] build.log (2.0.0_pre10, ppc) 2.0.0_pre10 fails 3 tests. (i old one, 2 new ones): [...] ====================================================================== FAIL: test_aapolygon (pygame.tests.gfxdraw_test.GfxdrawDefaultTest) aapolygon(surface, points, color): return None ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/pygame-2.0.0_pre10/work/pygame-2.0.0.dev10-python3_7/test/lib/pygame-2.0.0.dev10-py3.7-linux-ppc64.egg/pygame/tests/gfxdraw_test.py", line 723, in test_aapolygon self.check_at(surf, posn, fg_adjusted) File "/var/tmp/portage/dev-python/pygame-2.0.0_pre10/work/pygame-2.0.0.dev10-python3_7/test/lib/pygame-2.0.0.dev10-py3.7-linux-ppc64.egg/pygame/tests/gfxdraw_test.py", line 57, in check_at self.assertEqual(sc, color, fail_msg) AssertionError: (8, 64, 128, 255) != (128, 64, 8, 255) : (8, 64, 128, 255) != (128, 64, 8, 255) at (10, 15), bitsize: 24, flags: 0, masks: (255, 65280, 16711680, 0) ====================================================================== FAIL: test_frombuffer_BGR (pygame.tests.image_test.ImageModuleTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/pygame-2.0.0_pre10/work/pygame-2.0.0.dev10-python3_7/test/lib/pygame-2.0.0.dev10-py3.7-linux-ppc64.egg/pygame/tests/image_test.py", line 608, in test_frombuffer_BGR self.assertEqual(bgr_surf.get_at((0, 0)), pygame.Color(255, 10, 20)) AssertionError: (20, 10, 255, 255) != (255, 10, 20, 255) ====================================================================== FAIL: test_frombuffer_RGB (pygame.tests.image_test.ImageModuleTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/pygame-2.0.0_pre10/work/pygame-2.0.0.dev10-python3_7/test/lib/pygame-2.0.0.dev10-py3.7-linux-ppc64.egg/pygame/tests/image_test.py", line 581, in test_frombuffer_RGB self.assertEqual(rgb_surf.get_at((0, 0)), pygame.Color(255, 10, 20)) AssertionError: (20, 10, 255, 255) != (255, 10, 20, 255) ---------------------------------------------------------------------- Ran 1489 tests in 29.770s FAILED (failures=3)
Created attachment 670058 [details] build.log (2.0.0, ppc) 2.0.0 claims to fail 3 tests but build.log shows a lot more failing.
Same on sparc. Given the test output this is "just" an endianess error, at least the aapolygon one.
Created attachment 703212 [details] build.log (1.9.6-r1, ppc64) Same 2 testfailures on ppc64.