[Buildroot] [PATCH 00/58] python pypi library mass version bump.

Arnout Vandecappelle arnout at mind.be
Tue Feb 21 07:51:15 UTC 2017



On 20-02-17 10:59, Lionel Flandrin wrote:
> On Mon, Feb 20, 2017 at 10:52:46AM +0100, Lionel Flandrin wrote:
>> On Mon, Feb 20, 2017 at 09:41:19AM +0100, Thomas Petazzoni wrote:
>>> Hello,
>>>
>>> On Sun, 19 Feb 2017 22:20:54 +0100, Lionel Flandrin wrote:
>>>
>>>> Could we automate that somehow? Would simply importing the package be
>>>> sufficient for a basic runtime test? Alternatively could we run the
>>>> package-provided tests (if they exist)?
>>> The idea for this automation is what I've posted a few weeks ago:
>>>
>>>   http://lists.busybox.net/pipermail/buildroot/2017-February/183326.html
>>>
>>> It's a runtime testing infrastructure. For now, it only has a very
>>> small test for the Python interpreter itself, but we could very well
>>> have something that also tests Python packages.
> Erf, I completely missed that part of the email for some reason. I'll
> give those patches a test. Ideally we'd want to run the
> package-provided tests though, I'm not sure what would be the best way
> to do that.

 During previous discussions about testing in Buildroot it became clear that
there are many different kinds of tests. Running the package-provided tests is
one of them, but we don't consider it a priority. Indeed, if those tests fail,
it's a lot more likely that it is due to a bug in the package itself than due to
a bug in Buildroot (although obviously it's a very thin line between those two).
For Buildroot, the thing we need to test is: can it find all its runtime
dependencies (shared libs, Python modules it loads, programs it execs, ...). The
package test may or may not cover that, but running them is likely to take
relatively long. So we think the priority is to do a simple "check that it runs
at all" test.

 Regards,
 Arnout

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF


More information about the buildroot mailing list