]> code.ossystems Code Review - openembedded-core.git/commit
oeqa: Add selftest parallelisation support
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jul 2018 15:20:34 +0000 (15:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Jul 2018 15:44:26 +0000 (16:44 +0100)
commit326ababfd620ae5ea29bf486b9d68ba3d60cad30
tree04e46acabadb37fe91a2d1e15f4e6a087eb905da
parent26e04b23ba1b6942aa7c7df478d41dfe7b73e6e0
oeqa: Add selftest parallelisation support

This allows oe-selftest to take a -j option which specifies how much test
parallelisation to use. Currently this is "module" based with each module
being split and run in a separate build directory. Further splitting could
be done but this seems a good compromise between test setup and parallelism.

You need python-testtools and python-subunit installed to use this but only
when the -j option is specified.

See notes posted to the openedmbedded-architecture list for more details
about the design choices here.

Some of this functionality may make more sense in the oeqa core ultimately.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/core/context.py
meta/lib/oeqa/core/runner.py
meta/lib/oeqa/core/utils/concurrencytest.py [new file with mode: 0644]
meta/lib/oeqa/selftest/context.py