From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mail.openembedded.org (Postfix) with ESMTP id DFE2D77312 for ; Wed, 3 Feb 2016 00:28:42 +0000 (UTC) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 02 Feb 2016 16:28:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,387,1449561600"; d="scan'208";a="904289049" Received: from alimonb-mobl1.zpn.intel.com ([10.219.5.31]) by orsmga002.jf.intel.com with ESMTP; 02 Feb 2016 16:28:42 -0800 From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= To: openembedded-core@lists.openembedded.org Date: Tue, 2 Feb 2016 18:30:12 -0600 Message-Id: X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Cc: paul.eggleton@linux.intel.com, benjamin.esquivel@intel.com Subject: [PATCH v2 00/28] Add Extensible SDK test suite X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 00:28:46 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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