Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2 00/28] Add Extensible SDK test suite
@ 2016-02-03  0:30 Aníbal Limón
  2016-02-03  0:30 ` [PATCH v2 01/28] testimage: Modularize helper functions for get test lists Aníbal Limón
                   ` (27 more replies)
  0 siblings, 28 replies; 42+ messages in thread
From: Aníbal Limón @ 2016-02-03  0:30 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.

There are 7 new patches that FIXES the comments in the ML did by Paul Eggleton.

The following changes since commit 60100884d4d6a20aaf499d7afcf7fc91faabd22e:

  populate_sdk_ext: Add SSTATE_MIRRORS to config blacklist (2016-02-02 14:44:17 +0000)

are available in the git repository at:

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

Aníbal Limón (28):
  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.
  oeqa/oetest.py: Fix missing oeqa.runtime import.
  classes/testsdk: Add function run_test_context
  classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable
  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/sdkext: Add devtool basic tests for eSDK.
  classes/testsdk: Add help information on how to run tests.
  classes/testimage: Fix exportTests function.
  oeqa/sdkext/devtool.py: Add location test to ensure that devtool is
    the eSDK one.
  Revert "classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable"
  oeqa/oetest: oeSDKTest when run a command redirect env output to null
  oeqa/oetest.py: SDK{Ext,} improve host and target manifest load.
  oeqa/oetest: Fix compatibility SDK tests using eSDK.
  classes/testimage: exportTests simple improvment to use list instead
    of     test expresions.
  classes/test{image, sdk}: Update Copyrights to match the true dates.

 bitbake/lib/bb/fetch2/wget.py             |  17 +-
 bitbake/lib/bb/utils.py                   |  19 ++
 meta/classes/populate_sdk_ext.bbclass     |   6 +-
 meta/classes/testimage.bbclass            | 221 +----------------
 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, 519 insertions(+), 334 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] 42+ messages in thread

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

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-03  0:30 [PATCH v2 00/28] Add Extensible SDK test suite Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 01/28] testimage: Modularize helper functions for get test lists Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 02/28] classes/testsdk: Add new class testsdk Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 03/28] classes/testimage: Add defeault inherit for testsdk Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 04/28] populate_sdk_ext: Set TOOLCHAINEXT_OUTPUTNAME Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 05/28] get_test_suites: Add sdkext type for load test suites Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 06/28] classes/testsdk: Add testsdkext task only install Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 07/28] bb/fetch2: Move export_proxies function from wget to utils Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 08/28] classes/testsdk: Add call to export_proxies on testsdkext Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 09/28] toolchain-shar-extract.sh: Add proxy variable to new env Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 10/28] testimage/testsdk: Modularize TestContext Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 11/28] testimage/testsdk: Move get test suites routine inside TestContext Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 12/28] oetest.py/TestContext: Move loadTests and runTests inside it Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 13/28] oeqa/oetest.py: Fix missing oeqa.runtime import Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 14/28] classes/testsdk: Add function run_test_context Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 15/28] classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 16/28] classes/testsdk: Add compatibility SDK testsuite to eSDK Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 17/28] testsdkext: Add skeleton for support Extensible SDK tests Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 18/28] classes/populate_sdk_ext: Add SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 19/28] oeqa/sdkext: Add devtool basic tests for eSDK Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 20/28] classes/testsdk: Add help information on how to run tests Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 21/28] classes/testimage: Fix exportTests function Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 22/28] oeqa/sdkext/devtool.py: Add location test to ensure that devtool is the eSDK one Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 23/28] Revert "classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable" Aníbal Limón
2016-02-04 18:34   ` Paul Eggleton
2016-02-04 20:12     ` Aníbal Limón
2016-02-04 20:19       ` Paul Eggleton
2016-02-04 20:38         ` Aníbal Limón
2016-02-04 20:40           ` Paul Eggleton
2016-02-04 20:47             ` Richard Purdie
2016-02-04 20:53               ` Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 24/28] oeqa/oetest: oeSDKTest when run a command redirect env output to null Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 25/28] oeqa/oetest.py: SDK{Ext, } improve host and target manifest load Aníbal Limón
2016-02-04 18:35   ` Paul Eggleton
2016-02-04 20:13     ` Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 26/28] oeqa/oetest: Fix compatibility SDK tests using eSDK Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 27/28] classes/testimage: exportTests simple improvment to use list instead of test expresions Aníbal Limón
2016-02-04 18:34   ` Paul Eggleton
2016-02-04 20:13     ` Aníbal Limón
2016-02-03  0:30 ` [PATCH v2 28/28] classes/test{image, sdk}: Update Copyrights to match the true dates Aníbal Limón
2016-02-04 18:34   ` Paul Eggleton
2016-02-04 20:13     ` Aníbal Limón

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