Issue 5607: Lib/distutils/test/test_util: test_get_platform bogus for OSX (original) (raw)

Issue5607

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:47 admin set github: 49857
2009-04-13 12:39:30 tarek set status: open -> closedmessages: +
2009-03-30 16:39:25 ronaldoussoren set versions: + Python 3.1, Python 2.7
2009-03-30 16:39:13 ronaldoussoren create