[issue26931] android: test_distutils fails

Xavier de Gaye report at bugs.python.org
Fri May 6 04:15:10 EDT 2016


Xavier de Gaye added the comment:

On android, the shell path is /system/bin/sh. The attached patch fixes this, assuming that there is a platform.android_ver() as per issue #26855: add platform.android_ver() for android. This could be changed for a test on sys.platform if there was a specific sys.platform value for android.

With both patches and the LDFLAGS change on the cross-build system, test_distutils runs fine.

----------
Added file: http://bugs.python.org/file42745/android-sh-path.patch

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


More information about the Python-bugs-list mailing list