oeqa/runtime: Import custom targets
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | oeqa: Remove __init__.py files.meta/ meta/ meta/ +16 more | +9 | 0 replies | |
| 2/3 | oeqa/target: Add decorator to register targetsmeta/ meta/ meta/ | +33 | 0 replies | |
| 3/3 | oeqa/runtime/context.py: Add automatic target loadingmeta/ meta/ meta/ +1 more | +68 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] oeqa/runtime: Import custom targets
From: Mariano Lopez <[email protected]>
This series allows to import custom targets to be used with runtime testing. Now is possible to have a target in <layer>/lib/oeqa/core/target and testimage and testexport can use such target using TEST_TARGET variable.
To register a custom target you just need use decorate a target class with registerTarget, and set "targetName" attribute to the name that will be used by TEST_TARGET variable.
The following changes since commit 9fe7a69535f9443175da8289633a761f58c372ff:
bitbake: bitbake-diffsigs: Add debug support (2017-03-23 13:19:50 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib mariano/oeqa_target
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=mariano/oeqa_target
Mariano Lopez (3):
oeqa: Remove __init__.py files.
oeqa/target: Add decorator to register targets oeqa/runtime/context.py: Add automatic target loading
meta/classes/testexport.bbclass | 19 +++-
meta/classes/testimage.bbclass | 4 +-
meta/lib/oeqa/core/__init__.py | 0
meta/lib/oeqa/core/cases/__init__.py | 0
.../oeqa/core/decorator/{__init__.py => base.py} | 0
meta/lib/oeqa/core/decorator/data.py | 3 +-
meta/lib/oeqa/core/decorator/depends.py | 4 +-
meta/lib/oeqa/core/decorator/oeid.py | 2 +-
meta/lib/oeqa/core/decorator/oetag.py | 2 +-
meta/lib/oeqa/core/decorator/oetimeout.py | 2 +-
meta/lib/oeqa/core/loader.py | 2 +-
meta/lib/oeqa/core/target/__init__.py | 33 -------
meta/lib/oeqa/core/target/base.py | 82 ++++++++++++++++
meta/lib/oeqa/core/target/qemu.py | 7 +-
meta/lib/oeqa/core/target/ssh.py | 6 +-
meta/lib/oeqa/core/tests/__init__.py | 0
meta/lib/oeqa/core/utils/__init__.py | 0
meta/lib/oeqa/runtime/context.py | 109 +++++----------------
meta/lib/oeqa/runtime/decorator/package.py | 2 +-
meta/lib/oeqa/runtime/utils/__init__.py | 0
meta/lib/oeqa/sdk/__init__.py | 0
meta/lib/oeqa/sdk/utils/__init__.py | 0
meta/lib/oeqa/sdkext/__init__.py | 0
23 files changed, 142 insertions(+), 135 deletions(-)
delete mode 100644 meta/lib/oeqa/core/__init__.py
delete mode 100644 meta/lib/oeqa/core/cases/__init__.py
rename meta/lib/oeqa/core/decorator/{__init__.py => base.py} (100%)
delete mode 100644 meta/lib/oeqa/core/target/__init__.py
create mode 100644 meta/lib/oeqa/core/target/base.py
delete mode 100644 meta/lib/oeqa/core/tests/__init__.py
delete mode 100644 meta/lib/oeqa/core/utils/__init__.py
delete mode 100644 meta/lib/oeqa/runtime/utils/__init__.py
delete mode 100644 meta/lib/oeqa/sdk/__init__.py
delete mode 100644 meta/lib/oeqa/sdk/utils/__init__.py
delete mode 100644 meta/lib/oeqa/sdkext/__init__.pySignature · 1 line
2.10.2