[OE-core] [PATCH 2/2] python/python3: Add option to remove test files

2018-09-12 Thread Andrew Geissler
A quick search in the python package shows the following test directories being included in the python image: ./Python-2.7.14/Lib/bsddb/test ./Python-2.7.14/Lib/sqlite3/test ./Python-2.7.14/Lib/ctypes/test ./Python-2.7.14/Lib/unittest/test ./Python-2.7.14/Lib/lib-tk/test ./Python-2.7.14/Lib/email/t

Re: [OE-core] [PATCH 2/2] python/python3: Add option to remove test files

2018-09-12 Thread Burton, Ross
What are these files? Are they needed by the test suite? If so, lets just put them into python-tests along with the test suite. Ross On 12 September 2018 at 21:40, Andrew Geissler wrote: > A quick search in the python package shows the following test > directories being included in the python

Re: [OE-core] [PATCH 2/2] python/python3: Add option to remove test files

2018-09-12 Thread Andrew Geissler
On Wed, Sep 12, 2018 at 4:11 PM Burton, Ross wrote: > > What are these files? Are they needed by the test suite? If so, lets > just put them into python-tests along with the test suite. I did have a brief email exchange with Alejandro in http://lists.openembedded.org/pipermail/openembedded-core

Re: [OE-core] [PATCH 2/2] python/python3: Add option to remove test files

2018-09-13 Thread Burton, Ross
I'd just say that if those files are only needed by the test suite (python3 -mtest), it's easy to move them into the python-tests package by editing the manifest. If they're not part of the test suite then what are they? I can't recall why there's a python3-sqlite3-tests package instead of just