Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v3 00/22] Add Extensible SDK test suite
@ 2016-02-04 22:29 Aníbal Limón
  2016-02-04 22:29 ` [PATCH v3 01/22] testimage: Modularize helper functions for get test lists Aníbal Limón
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: Aníbal Limón @ 2016-02-04 22:29 UTC (permalink / raw)
  To: openembedded-core; +Cc: paul.eggleton, benjamin.esquivel

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

-- 
2.1.4



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2016-02-04 22:49 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-04 22:29 [PATCH v3 00/22] Add Extensible SDK test suite Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 01/22] testimage: Modularize helper functions for get test lists Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 02/22] classes/testsdk: Add new class testsdk Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 03/22] classes/testimage: Add defeault inherit for testsdk Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 04/22] populate_sdk_ext: Set TOOLCHAINEXT_OUTPUTNAME Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 05/22] get_test_suites: Add sdkext type for load test suites Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 06/22] classes/testsdk: Add testsdkext task only install Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 07/22] bb/fetch2: Move export_proxies function from wget to utils Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 08/22] classes/testsdk: Add call to export_proxies on testsdkext Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 09/22] toolchain-shar-extract.sh: Add proxy variable to new env Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 10/22] testimage/testsdk: Modularize TestContext Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 11/22] testimage/testsdk: Move get test suites routine inside TestContext Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 12/22] oetest.py/TestContext: Move loadTests and runTests inside it Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 13/22] classes/testsdk: Add function run_test_context Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 14/22] oeqa/oetest: oeSDKTest when run a command redirect env output to null Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 15/22] classes/testsdk: Add compatibility SDK testsuite to eSDK Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 16/22] testsdkext: Add skeleton for support Extensible SDK tests Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 17/22] classes/populate_sdk_ext: Add SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 18/22] oeqa/oetest: Fix compatibility SDK tests using eSDK Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 19/22] oeqa/sdkext: Add devtool basic tests for eSDK Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 20/22] oeqa/sdkext/devtool.py: Add location test to ensure that devtool is the eSDK one Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 21/22] classes/testsdk: Add help information on how to run tests Aníbal Limón
2016-02-04 22:29 ` [PATCH v3 22/22] classes/testimage: Fix exportTests function Aníbal Limón
2016-02-04 22:49 ` [PATCH v3 00/22] Add Extensible SDK test suite Paul Eggleton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox