On Wed, Oct 18, 2023 at 1:57 PM Richard Purdie <
[email protected]> wrote:

> On Wed, 2023-10-18 at 12:51 -0700, Tim Orling wrote:
> > Can you check if you are sending to both toaster and bitbake-devel
> > lists at the same time? otherwise I have a feeling we are going to
> > miss some communication.
> >
> > On Wed, Oct 18, 2023 at 12:46 PM Marlon Rodriguez Garcia
> > <[email protected]> wrote:
> > > Added configuration file for tox https://tox.wiki/en/4.11.3/ that
> > > includes flake8 and the test suite.
> > >
> >
> >
> > We do not have tox in openembedded-core and I am reluctant to add a
> > specific tool, as it has a lot of dependencies. I am not aware of any
> > other python based tools that we author which have tox enabled.
>
> I have been thinking about this a little, I first heard of it on
> Tuesday. It seems we need something to execute various pieces of the
> testing and in the autobuilder context, there are other dependencies
> we'll have to install for testing so the fact we don't have recipes for
> it might not be a big issue? On the autobuilder I'm assuming we can
> create a pip environment we can use with the right pieces in?
>
> This tool in theory helps with the answer to the question "how do I
> execute the tests?" as I understand it.
>

tox.ini is usually used by proper Python packages that are intended to be
published to pypi.org. It sets up multiple virtual python environments and
multiple tools.
The use in this case to run flake8 is for automatic python syntax
recommendations, in addition to some Django environment setup.

If we are going to add this, then please add some basic documentation for
how to replicate the testing environment. We are rapidly moving beyond
anything we have done before in oe-core or bitbake.

We normally would have tests in the oeqa/oe-selftest framework, so we are
setting a new precedent here with non-trivial dependencies.


> Cheers,
>
> Richard
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5879): https://lists.yoctoproject.org/g/toaster/message/5879
Mute This Topic: https://lists.yoctoproject.org/mt/102048094/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/toaster/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to