[OE-core] [PATCH v2] python/python3: Move test files to test package

Alejandro Hernandez alejandro.enedino.hernandez-samaniego at xilinx.com
Fri Sep 14 16:48:27 UTC 2018


Sorry about the last email, I just saw this after sending the other one, 
yes I believe this might work, it would give us more control on how we 
handle packaging, although in a way it assumes the user knows what its 
doing which is not always the case :)


Cheers,

Alejandro

On 9/14/2018 8:13 AM, Andrew Geissler wrote:
> On Fri, Sep 14, 2018 at 8:06 AM Burton, Ross <ross.burton at intel.com> wrote:
>> On 14 September 2018 at 00:49, Burton, Ross <ross.burton at intel.com> wrote:
>>> On 14 September 2018 at 00:30, Burton, Ross <ross.burton at intel.com> wrote:
>>>> I suspect simply adding python3.5/*/test/ will catch the bulk of this
>>>> now and in the future.
>>> Gave this a go and annoyingly the manifest generation must sort the
>>> list because the glob works for everything apart from packages after
>>> tests alphabetically, so the tkinter and unittest tests don't get
>>> moved.
>>>
>>> I guess we could change the manifest to put the tests package at the
>>> top of the list, and be sure to respect the order when generating the
>>> lists.
>> So I went and did this.
>>
>> http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ross/manifest
>>
>> Does anyone have a problem with this?  Basically all the test code is
>> merged into python3-test, including the previously separate
>> sqlite3-test.
> Nice, thanks Ross!  Looks good to me. Will you be back-porting to
> python2 as well?
>
>> Ross



More information about the Openembedded-core mailing list