Skip to content

testimage: restore 'auto' behaviour and a few other fixes

Chen Qi openembedded-core 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest14 patches 1 replyIn review
  2. v214 patches 2 repliesSuperseded
  3. v114 patches 9 repliesSuperseded

Changes in v3 from the cover letter

* update patch to fix oe-selftest problem: oeqa/runtime/cases/selftest.py: rename to _selftest.py

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14oeqa/core/loader.py: support the 'auto' keywordmeta/lib/oeqa/core/loader.py+13 -40 replies
2/14testimage.bbclass: fix behavior of empty TEST_SUITESmeta/classes/testimage.bbclass+7 -10 replies
3/14oeqa/core/decorator/__init__.py: set metaclass to ABCMetameta/lib/oeqa/core/decorator/__init__.py+2 -20 replies
4/14oeqa/core/decorator/__init__.py: use 'cls' instead of 'obj'meta/lib/oeqa/core/decorator/__init__.py+3 -30 replies
5/14oeqa/runtime/cases/dnf_runtime.py: skip test if PACKAGE_FEED_URIS is not setmeta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py+3 -00 replies
6/14oeqa/runtime/cases/selftest.py: rename to _selftest.pymeta-selftest/lib/oeqa/runtime/cases/_selftest.py meta/lib/oeqa/selftest/cases/runtime_test.py+2 -21 reply
7/14testimage.bbclass: also check 'auto' to create rpm indexmeta/classes/testimage.bbclass+1 -10 replies
8/14oeqa/core/decorator/data.py: fix skipIfNotInDataVarmeta/lib/oeqa/core/decorator/data.py+2 -20 replies
9/14oeqa/runtime/cases/rpm.py: skip if rpm not availablemeta/lib/oeqa/runtime/cases/rpm.py+1 -00 replies
10/14oeqa/runtime/cases/multilib.py: skip if needed packages are not availablemeta/lib/oeqa/runtime/cases/multilib.py+2 -00 replies
11/14oeqa/runtime/cases/multilib.py: fix test_file_connman skipping logicmeta/lib/oeqa/runtime/cases/multilib.py+1 -10 replies
12/14bitbake.conf: fix HOSTTOOLS setting related to image testingmeta/conf/bitbake.conf+1 -10 replies
13/14testimage.bbclass: move codes into testimage_mainmeta/classes/testimage.bbclass+6 -70 replies
14/14oeqa/core/target/ssh.py: increase maximum read bytes from 1024 to 4096meta/lib/oeqa/core/target/ssh.py+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH V3 00/14] testimage: restore 'auto' behaviour and a few other fixes

Changes in V3:
* update patch to fix oe-selftest problem: oeqa/runtime/cases/selftest.py: rename to _selftest.py

Changes in V2:
* move codes into testimage_main instead of modifying testimage-auto.bbclass
* use if...else... instead list index for setting of HOSTTOOLS

The following changes since commit bc6c8a0794999b49508aeff9b7cf855ddb2a0c40:

poky: Switch to post release name/version (2018-06-03 16:30:43 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/testimage-auto
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/testimage-auto

Chen Qi (14):
oeqa/core/loader.py: support the 'auto' keyword testimage.bbclass: fix behavior of empty TEST_SUITES oeqa/core/decorator/__init__.py: set metaclass to ABCMeta oeqa/core/decorator/__init__.py: use 'cls' instead of 'obj' oeqa/runtime/cases/dnf_runtime.py: skip test if PACKAGE_FEED_URIS is
not set
oeqa/runtime/cases/selftest.py: rename to _selftest.py testimage.bbclass: also check 'auto' to create rpm index oeqa/core/decorator/data.py: fix skipIfNotInDataVar oeqa/runtime/cases/rpm.py: skip if rpm not available oeqa/runtime/cases/multilib.py: skip if needed packages are not
available
oeqa/runtime/cases/multilib.py: fix test_file_connman skipping logic bitbake.conf: fix HOSTTOOLS setting related to image testing testimage.bbclass: move codes into testimage_main oeqa/core/target/ssh.py: increase maximum read bytes from 1024 to 4096

 .../runtime/cases/{selftest.py => _selftest.py}     |  2 +-
 meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py |  3 +++
 meta/classes/testimage.bbclass                      | 21 +++++++++++++--------
 meta/conf/bitbake.conf                              |  2 +-
 meta/lib/oeqa/core/decorator/__init__.py            | 10 +++++-----
 meta/lib/oeqa/core/decorator/data.py                |  4 ++--
 meta/lib/oeqa/core/loader.py                        | 17 +++++++++++++----
 meta/lib/oeqa/core/target/ssh.py                    |  2 +-
 meta/lib/oeqa/runtime/cases/multilib.py             |  4 +++-
 meta/lib/oeqa/runtime/cases/rpm.py                  |  1 +
 meta/lib/oeqa/selftest/cases/runtime_test.py        |  2 +-
 11 files changed, 44 insertions(+), 24 deletions(-)
 rename meta-selftest/lib/oeqa/runtime/cases/{selftest.py => _selftest.py} (94%)
Signature · 1 line
1.9.1