From: "Aníbal Limón" <anibal.limon@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Cc: paul.eggleton@linux.intel.com, juan.m.cruz.alcaraz@intel.com
Subject: [PATCH 00/17] OEQA framework add support of threaded mode and enable in SDK
Date: Wed, 10 May 2017 14:47:00 -0500 [thread overview]
Message-ID: <cover.1494445222.git.anibal.limon@linux.intel.com> (raw)
This series enables support of OEQA framework threaded runs, it implements a new module
oeqa.core.threaded with OETest{Context, Loader, Runner, StreamLogger, Result} versions
supporting parallelized runs.
The {e,}SDK test component was enable to use threaded mode by default.
The following changes since commit 381897c64069ea43d595380a3ae913bcc79cf7e1:
build-appliance-image: Update to master head revision (2017-05-01 08:56:47 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib alimon/oeqa_threaded
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=alimon/oeqa_threaded
Aníbal Limón (17):
testsdk.bbclass: Remove unused import of OEStreamLogger
oeqa/sdk/context.py: Import argparse_oe at OESDKTestContext.run method
oeqa/sdk/context.py: Add return to OESDKTestContext.run() method
oeqa/core: Don't expose OEStreamLogger in OETestContext
oeqa/core/runner: OETestResult remove unneeded override of startTest
oeqa/core: Move OETestContext.log{Summary, Details} into OETestResult
oeqa/core/threaded: Add new module with OETestLoaderThreaded
oeqa/core/threaded: Add OEStreamLoggerThreaded class
oeqa/core/runner: OETestResult add internal _tc_map_results
oeqa/core/threaded: Add OETestResultThreaded{,Internal} classes
oeqa/core/threaded: Add support of OETestRunnerThreaded
oeqa/core/threaded: Add OETestContextThreaded class
oeqa/core/decorator/depends: Add support for threading mode
oeqa/core/decorator/oetimeout: Add support for OEQA threaded mode
oeqa/core/tests: Add tests of OEQA Threaded mode
oeqa/sdkext/cases: Move sdk_update test into devtool module
oeqa/sdk: Enable usage of OEQA thread mode
meta/classes/testimage.bbclass | 4 +-
meta/classes/testsdk.bbclass | 13 +-
meta/lib/oeqa/core/context.py | 97 +-------
meta/lib/oeqa/core/decorator/depends.py | 8 +-
meta/lib/oeqa/core/decorator/oetimeout.py | 40 ++-
meta/lib/oeqa/core/runner.py | 94 ++++++-
.../core/tests/cases/loader/threaded/threaded.py | 12 +
.../tests/cases/loader/threaded/threaded_alone.py | 8 +
.../cases/loader/threaded/threaded_depends.py | 10 +
.../tests/cases/loader/threaded/threaded_module.py | 12 +
meta/lib/oeqa/core/tests/common.py | 10 +
meta/lib/oeqa/core/tests/test_decorators.py | 12 +
meta/lib/oeqa/core/tests/test_loader.py | 30 ++-
meta/lib/oeqa/core/threaded.py | 274 +++++++++++++++++++++
meta/lib/oeqa/sdk/context.py | 11 +-
meta/lib/oeqa/sdkext/cases/devtool.py | 32 +++
meta/lib/oeqa/sdkext/cases/sdk_update.py | 39 ---
17 files changed, 548 insertions(+), 158 deletions(-)
create mode 100644 meta/lib/oeqa/core/tests/cases/loader/threaded/threaded.py
create mode 100644 meta/lib/oeqa/core/tests/cases/loader/threaded/threaded_alone.py
create mode 100644 meta/lib/oeqa/core/tests/cases/loader/threaded/threaded_depends.py
create mode 100644 meta/lib/oeqa/core/tests/cases/loader/threaded/threaded_module.py
create mode 100644 meta/lib/oeqa/core/threaded.py
delete mode 100644 meta/lib/oeqa/sdkext/cases/sdk_update.py
--
2.1.4
next reply other threads:[~2017-05-10 19:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-10 19:47 Aníbal Limón [this message]
2017-05-10 19:47 ` [PATCH 01/17] testsdk.bbclass: Remove unused import of OEStreamLogger Aníbal Limón
2017-05-10 19:47 ` [PATCH 02/17] oeqa/sdk/context.py: Import argparse_oe at OESDKTestContext.run method Aníbal Limón
2017-05-10 19:47 ` [PATCH 03/17] oeqa/sdk/context.py: Add return to OESDKTestContext.run() method Aníbal Limón
2017-05-10 19:47 ` [PATCH 04/17] oeqa/core: Don't expose OEStreamLogger in OETestContext Aníbal Limón
2017-05-10 19:47 ` [PATCH 05/17] oeqa/core/runner: OETestResult remove unneeded override of startTest Aníbal Limón
2017-05-10 19:47 ` [PATCH 06/17] oeqa/core: Move OETestContext.log{Summary, Details} into OETestResult Aníbal Limón
2017-05-10 19:47 ` [PATCH 07/17] oeqa/core/threaded: Add new module with OETestLoaderThreaded Aníbal Limón
2017-05-10 19:47 ` [PATCH 08/17] oeqa/core/threaded: Add OEStreamLoggerThreaded class Aníbal Limón
2017-05-10 19:47 ` [PATCH 09/17] oeqa/core/runner: OETestResult add internal _tc_map_results Aníbal Limón
2017-05-10 19:47 ` [PATCH 10/17] oeqa/core/threaded: Add OETestResultThreaded{, Internal} classes Aníbal Limón
2017-05-10 19:47 ` [PATCH 11/17] oeqa/core/threaded: Add support of OETestRunnerThreaded Aníbal Limón
2017-05-10 19:47 ` [PATCH 12/17] oeqa/core/threaded: Add OETestContextThreaded class Aníbal Limón
2017-05-10 19:47 ` [PATCH 13/17] oeqa/core/decorator/depends: Add support for threading mode Aníbal Limón
2017-05-10 19:47 ` [PATCH 14/17] oeqa/core/decorator/oetimeout: Add support for OEQA threaded mode Aníbal Limón
2017-05-10 19:47 ` [PATCH 15/17] oeqa/core/tests: Add tests of OEQA Threaded mode Aníbal Limón
2017-05-10 19:47 ` [PATCH 16/17] oeqa/sdkext/cases: Move sdk_update test into devtool module Aníbal Limón
2017-05-10 19:47 ` [PATCH 17/17] oeqa/sdk: Enable usage of OEQA thread mode Aníbal Limón
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1494445222.git.anibal.limon@linux.intel.com \
--to=anibal.limon@linux.intel.com \
--cc=juan.m.cruz.alcaraz@intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul.eggleton@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox