This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Lib/distutils/test/test_util: test_get_platform bogus for OSX
Type: Stage:
Components: Versions: Python 3.1, Python 2.7
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: tarek Nosy List: ronaldoussoren, tarek
Priority: normal Keywords:

Created on 2009-03-30 16:39 by ronaldoussoren, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg84578 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2009-03-30 16:39
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.
msg85943 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2009-04-13 12:39
fixed in r71560 and r71565.
History
Date User Action Args
2022-04-11 14:56:47adminsetgithub: 49857
2009-04-13 12:39:30tareksetstatus: open -> closed

messages: + msg85943
2009-03-30 16:39:25ronaldoussorensetversions: + Python 3.1, Python 2.7
2009-03-30 16:39:13ronaldoussorencreate