Xavier de Gaye added the comment: The problem raised in msg264946 has been fixed at changeset 15835311b5e6.
This new cross-compiled-skip_2.patch is not specific to Android and fixes test_distutils when the executables used to build the interpreter do not exist on the platform where the test is run. The patch also does: * Fix a bug in test_run of Lib/distutils/tests/test_build_clib.py that was using the values of the 'compiler.executables' dictionary instead of the attributes of 'compiler'. * Removes test_get_python_inc from test_sysconfig.py as Python.h may not be installed on systems where extension modules are not expected to be built (BTW the comment in the test points out: "This is not much of a test" :). With this patch, test_distutils runs fine on the Android emulator. ---------- components: +Tests -Cross-Build, Library (Lib) dependencies: -add the 'is_android' attribute to test.support stage: -> patch review versions: +Python 3.7 Added file: http://bugs.python.org/file45346/cross-compiled-skip_2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26931> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com