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

Andrew Geissler geissonator at gmail.com
Fri Sep 14 15:13:17 UTC 2018


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