Skip to content

Add Extensible SDK test suite

Aníbal Limón openembedded-core 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest22 patches 1 replyIn review
  2. v228 patches 13 repliesSuperseded
  3. v120 patches 19 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22testimage: Modularize helper functions for get test lists.meta/classes/testimage.bbclass meta/lib/oeqa/oetest.py+78 -740 replies
2/22classes/testsdk: Add new class testsdk.meta/classes/testimage.bbclass meta/classes/testsdk.bbclass+100 -980 replies
3/22classes/testimage: Add defeault inherit for testsdk.meta/classes/testimage.bbclass+2 -00 replies
4/22populate_sdk_ext: Set TOOLCHAINEXT_OUTPUTNAME.meta/classes/populate_sdk_ext.bbclass+2 -10 replies
5/22get_test_suites: Add sdkext type for load test suites.meta/lib/oeqa/oetest.py+2 -00 replies
6/22classes/testsdk: Add testsdkext task only install.meta/classes/testsdk.bbclass+45 -00 replies
7/22bb/fetch2: Move export_proxies function from wget to utils.bitbake/lib/bb/fetch2/wget.py bitbake/lib/bb/utils.py+20 -160 replies
8/22classes/testsdk: Add call to export_proxies on testsdkext.meta/classes/testsdk.bbclass+3 -00 replies
9/22toolchain-shar-extract.sh: Add proxy variable to new env.meta/files/toolchain-shar-extract.sh+3 -10 replies
10/22testimage/testsdk: Modularize TestContext.meta/classes/testimage.bbclass meta/classes/testsdk.bbclass meta/lib/oeqa/oetest.py+69 -630 replies
11/22testimage/testsdk: Move get test suites routine inside TestContext.meta/classes/testimage.bbclass meta/classes/testsdk.bbclass meta/lib/oeqa/oetest.py+112 -1100 replies
12/22oetest.py/TestContext: Move loadTests and runTests inside it.meta/classes/testimage.bbclass meta/classes/testsdk.bbclass meta/lib/oeqa/oetest.py+103 -1060 replies
13/22classes/testsdk: Add function run_test_contextmeta/classes/testsdk.bbclass+32 -300 replies
14/22oeqa/oetest: oeSDKTest when run a command redirect env output to nullmeta/lib/oeqa/oetest.py+1 -10 replies
15/22classes/testsdk: Add compatibility SDK testsuite to eSDKmeta/classes/testsdk.bbclass+19 -50 replies
16/22testsdkext: Add skeleton for support Extensible SDK tests.meta/classes/testsdk.bbclass meta/lib/oeqa/oetest.py meta/lib/oeqa/sdkext/__init__.py+23 -20 replies
17/22classes/populate_sdk_ext: Add SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFESTmeta/classes/populate_sdk_ext.bbclass meta/lib/oeqa/oetest.py+12 -20 replies
18/22oeqa/oetest: Fix compatibility SDK tests using eSDK.meta/classes/testsdk.bbclass meta/lib/oeqa/oetest.py+13 -60 replies
19/22oeqa/sdkext: Add devtool basic tests for eSDK.meta/lib/oeqa/sdkext/devtool.py meta/lib/oeqa/sdkext/files/myapp/Makefile meta/lib/oeqa/sdkext/files/myapp/myapp.c+44 -00 replies
20/22oeqa/sdkext/devtool.py: Add location test to ensure that devtool is the eSDK one.meta/lib/oeqa/sdkext/devtool.py+7 -00 replies
21/22classes/testsdk: Add help information on how to run tests.meta/classes/testsdk.bbclass+10 -00 replies
22/22classes/testimage: Fix exportTests function.meta/classes/testimage.bbclass+1 -10 replies

Reviews trailers per patch

None of the 22 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPaul Eggleton
SeriesA-b
1/22
2/22
3/22
4/22
5/22
6/22
7/22
8/22
9/22
10/22
11/22
12/22
13/22
14/22
15/22
16/22
17/22
18/22
19/22
20/22
21/22
22/22

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/22] Add Extensible SDK test suite

Summary of changes,

- Add new class called testsdk that now have the tests for SDK and eSDK.
- TestContext -> {Image, SDK, SDKExt}: Remove all duplicate code inside testimage and testsdk class move into oeqa/oetest and create class per type of Test.
- Extensible SDK fixes usage with proxies, when eSDK is configuring it executes setscene tasks that needs network acces if was build with sstate mirrors.

Testing was made building/running SDK and eSDK for core-image-minimal and core-image-sato, also testimage was run in core-image-minimal and core-image-sato with QemuRemote and SimpleRemote
to ensure that nothing was break.

This patchset DEPENDS on bitbake change to export proxies and NEEDS to be MERGED before, see:
bb/fetch2: Move export_proxies function from wget to utils.

These v3 is the same of v2 on code only fixes issues of squashing and one for don't make reverts in the patch series.

The following changes since commit b33e440cc6fbd703e8045d94b806790343e72eb6:

libical: Work around hardcoded paths in pkgconfig file (2016-02-04 13:09:56 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib alimon/esdk_testsuite_v3
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=alimon/esdk_testsuite_v3

Aníbal Limón (22):
testimage: Modularize helper functions for get test lists. classes/testsdk: Add new class testsdk.
classes/testimage: Add defeault inherit for testsdk.
populate_sdk_ext: Set TOOLCHAINEXT_OUTPUTNAME.
get_test_suites: Add sdkext type for load test suites. classes/testsdk: Add testsdkext task only install. bb/fetch2: Move export_proxies function from wget to utils. classes/testsdk: Add call to export_proxies on testsdkext. toolchain-shar-extract.sh: Add proxy variable to new env. testimage/testsdk: Modularize TestContext. testimage/testsdk: Move get test suites routine inside TestContext. oetest.py/TestContext: Move loadTests and runTests inside it. classes/testsdk: Add function run_test_context oeqa/oetest: oeSDKTest when run a command redirect env output to null classes/testsdk: Add compatibility SDK testsuite to eSDK
testsdkext: Add skeleton for support Extensible SDK tests. classes/populate_sdk_ext: Add SDK_EXT_TARGET_MANIFEST and
SDK_EXT_HOST_MANIFEST
oeqa/oetest: Fix compatibility SDK tests using eSDK. oeqa/sdkext: Add devtool basic tests for eSDK. oeqa/sdkext/devtool.py: Add location test to ensure that devtool is
the eSDK one.
classes/testsdk: Add help information on how to run tests. classes/testimage: Fix exportTests function.

 bitbake/lib/bb/fetch2/wget.py             |  17 +-
 bitbake/lib/bb/utils.py                   |  19 ++
 meta/classes/populate_sdk_ext.bbclass     |   6 +-
 meta/classes/testimage.bbclass            | 219 +----------------
 meta/classes/testsdk.bbclass              | 144 +++++++++++
 meta/files/toolchain-shar-extract.sh      |   4 +-
 meta/lib/oeqa/oetest.py                   | 388 ++++++++++++++++++++++--------
 meta/lib/oeqa/sdkext/__init__.py          |   3 +
 meta/lib/oeqa/sdkext/devtool.py           |  32 +++
 meta/lib/oeqa/sdkext/files/myapp/Makefile |  10 +
 meta/lib/oeqa/sdkext/files/myapp/myapp.c  |   9 +
 11 files changed, 518 insertions(+), 333 deletions(-)
 create mode 100644 meta/classes/testsdk.bbclass
 create mode 100644 meta/lib/oeqa/sdkext/__init__.py
 create mode 100644 meta/lib/oeqa/sdkext/devtool.py
 create mode 100644 meta/lib/oeqa/sdkext/files/myapp/Makefile
 create mode 100644 meta/lib/oeqa/sdkext/files/myapp/myapp.c
Signature · 1 line
2.1.4