Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lib/distutils/test/test_util: test_get_platform bogus for OSX #49857

Closed
ronaldoussoren opened this issue Mar 30, 2009 · 2 comments
Closed

Lib/distutils/test/test_util: test_get_platform bogus for OSX #49857

ronaldoussoren opened this issue Mar 30, 2009 · 2 comments
Assignees

Comments

@ronaldoussoren
Copy link
Contributor

BPO 5607
Nosy @ronaldoussoren, @tarekziade

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/tarekziade'
closed_at = <Date 2009-04-13.12:39:30.901>
created_at = <Date 2009-03-30.16:39:13.299>
labels = []
title = 'Lib/distutils/test/test_util: test_get_platform bogus for OSX'
updated_at = <Date 2009-04-13.12:39:30.900>
user = 'https://github.com/ronaldoussoren'

bugs.python.org fields:

activity = <Date 2009-04-13.12:39:30.900>
actor = 'tarek'
assignee = 'tarek'
closed = True
closed_date = <Date 2009-04-13.12:39:30.901>
closer = 'tarek'
components = []
creation = <Date 2009-03-30.16:39:13.299>
creator = 'ronaldoussoren'
dependencies = []
files = []
hgrepos = []
issue_num = 5607
keywords = []
message_count = 2.0
messages = ['84578', '85943']
nosy_count = 2.0
nosy_names = ['ronaldoussoren', 'tarek']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue5607'
versions = ['Python 3.1', 'Python 2.7']

@ronaldoussoren
Copy link
Contributor Author

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.

@tarekziade
Copy link
Mannequin

tarekziade mannequin commented Apr 13, 2009

fixed in r71560 and r71565.

@tarekziade tarekziade mannequin closed this as completed Apr 13, 2009
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant