[New-bugs-announce] [issue7657] test_ctypes failure on AIX 5.3
sangamesh
report at bugs.python.org
Fri Jan 8 08:02:33 CET 2010
New submission from sangamesh <swamy.sangamesh at gmail.com>:
I built the python-2.6.2 with the latest libffi-3.0.9 in AIX 5.3 using xlc compiler.
When i try to run the ctypes test cases, two failures are seen in test_bitfields.
test_ints (ctypes.test.test_bitfields.C_Test) ... FAIL
test_shorts (ctypes.test.test_bitfields.C_Test) ... FAIL
It seems that interpreting type c_int and c_short is wrong in bit field for AIX. If i change the type c_int and c_short
to c_unit and c_ushort of class "BITS(Structure)" in file test_bitfields.py then no failures are seen and all the test
cases got passed
This issue is common for both 32 and 64-bit versions
Attaching the complete test case result for reference.
----------
assignee: theller
components: ctypes
files: ctype-tests.txt
messages: 97395
nosy: mallayya, theller
severity: normal
status: open
title: test_ctypes failure on AIX 5.3
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file15784/ctype-tests.txt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7657>
_______________________________________
More information about the New-bugs-announce
mailing list