[issue26931] android: test_distutils fails

2016-11-17 Thread Xavier de Gaye

Changes by Xavier de Gaye :


--
resolution:  -> fixed
stage: commit review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26931] android: test_distutils fails

2016-11-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset cea3b621973f by Xavier de Gaye in branch '3.6':
Issue 26931: Skip the test_distutils tests using a compiler executable
https://hg.python.org/cpython/rev/cea3b621973f

New changeset 99d69fd1b24e by Xavier de Gaye in branch 'default':
Issue 26931: Merge 3.6
https://hg.python.org/cpython/rev/99d69fd1b24e

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26931] android: test_distutils fails

2016-11-15 Thread Xavier de Gaye

Changes by Xavier de Gaye :


--
assignee:  -> xdegaye
stage: patch review -> commit review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26931] android: test_distutils fails

2016-11-04 Thread Xavier de Gaye

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26931] android: test_distutils fails

2016-05-21 Thread Xavier de Gaye

Changes by Xavier de Gaye :


--
dependencies: +add is_android in test.support to detect Android platform

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26931] android: test_distutils fails

2016-05-20 Thread Xavier de Gaye

Xavier de Gaye added the comment:

This new patch adds a dependency to issue #27027.

--
Added file: http://bugs.python.org/file42915/android-sh-path_2.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26931] android: test_distutils fails

2016-05-06 Thread Xavier de Gaye

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26931] android: test_distutils fails

2016-05-06 Thread Xavier de Gaye

Xavier de Gaye added the comment:

The attached patch skips some tests when the interpreter was cross-compiled. 
When the interpreter has been cross-compiled, there is probably no compiler on 
the host system.

--
keywords: +patch
Added file: http://bugs.python.org/file42744/cross-compiled-skip.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26931] android: test_distutils fails

2016-05-06 Thread Xavier de Gaye

Xavier de Gaye added the comment:

The last two failed tests:
test_sysconfig_compiler_vars
test_sysconfig_module

are caused by LDFLAGS being set in the environment both when configure is run 
and when make is run.

Removing LDFLAGS from the environment when running make fixes these tests.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26931] android: test_distutils fails

2016-05-03 Thread Xavier de Gaye

New submission from Xavier de Gaye:

test_distutils fails on an android emulator running an x86 system image at API 
level 21.

See the attached test_output.txt file.

Some of these failed tests could be skipped, supposing that native compilation 
of extension modules on android itself (as opposed to using cross-compilation) 
is not supported.

--
components: Cross-Build, Library (Lib)
files: test_output.txt
messages: 264732
nosy: Alex.Willmer, dstufft, eric.araujo, xdegaye
priority: normal
severity: normal
status: open
title: android: test_distutils fails
type: behavior
versions: Python 3.6
Added file: http://bugs.python.org/file42698/test_output.txt

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com