[issue26926] test_io large file test failure on 32 bits Android platforms

Xavier de Gaye report at bugs.python.org
Fri Nov 4 11:47:23 EDT 2016


Xavier de Gaye added the comment:

The tests are run on an ext4 file system.
test_large_file_ops does not fail on the x86_64 and arm64 (aka aarch64) Android 64 bits platforms.
test_large_file_ops still fails on x86 with the latest Android API level 24 (i.e. the latest released libc).

FWIW, the second item in https://android.googlesource.com/platform/bionic.git/#32_bit-ABI-bugs may explain why there is still no large file support on Android 32 bits platforms.
HAVE_LARGEFILE_SUPPORT cannot be used to skip the test since it is also undefined on the Android 64 bits platforms and on linux x86_64.
This new patch is not specific to Android and uses the same method as the one used in test_mmap to skip the test on platforms that do not support large files.

----------
assignee:  -> xdegaye
components: +Tests -Cross-Build, Library (Lib)
dependencies:  -add the 'is_android' attribute to test.support
stage:  -> patch review
title: Large files are not supported on Android -> test_io large file test failure on 32 bits Android platforms
versions: +Python 3.7
Added file: http://bugs.python.org/file45350/skip-large-file_2.patch

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


More information about the Python-bugs-list mailing list