[New-bugs-announce] [issue5607] Lib/distutils/test/test_util: test_get_platform bogus for OSX

Ronald Oussoren report at bugs.python.org
Mon Mar 30 18:39:14 CEST 2009


New submission from Ronald Oussoren <ronaldoussoren at mac.com>:

the testcase test_get_platform is not entirely correct for the OSX case.

Background: OSX supports fat binary builds (Apple calls those Universal 
Binaries). The testitem for OSX gives a false negative when you run the 
test with a Universal Binary build of Python on OSX.

To get correct test results on OSX you'll have to patch a number of other 
variables as well, such as CFLAGS, because get_platform uses those to 
detect if you're running on a universal build.

----------
assignee: tarek
messages: 84578
nosy: ronaldoussoren, tarek
severity: normal
status: open
title: Lib/distutils/test/test_util: test_get_platform bogus for OSX

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5607>
_______________________________________


More information about the New-bugs-announce mailing list