summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorAníbal Limón <limon.anibal@gmail.com>2016-01-31 08:45:47 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-10 15:51:03 +0000
commitf3781544a5c077610498a6b7dc5244ee4c5bc6df (patch)
tree6daf50312f64b8bab6cbdd6efa14ad1e6b6657aa /meta/classes
parentfb9db1698039ca51ae52ea623d2ca845753f8260 (diff)
downloadopenembedded-core-f3781544a5c077610498a6b7dc5244ee4c5bc6df.tar.gz
openembedded-core-f3781544a5c077610498a6b7dc5244ee4c5bc6df.tar.bz2
openembedded-core-f3781544a5c077610498a6b7dc5244ee4c5bc6df.zip
testsdkext: Add skeleton for support Extensible SDK tests.
oeqa/sdkext: Add module and __init__.py will contain eSDK tests. classes/testsdk: Add support for run eSDK tests. oeqa/oetest: Create oeSDKExtTest for now only inherit oeSDKTest, modified SDKExtTestContext now inherit SDKTestContext and set sdkext filesdir for store data fixtures. Signed-off-by: Aníbal Limón <limon.anibal@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/testsdk.bbclass10
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass
index a0c50fe4a9..417510ce3d 100644
--- a/meta/classes/testsdk.bbclass
+++ b/meta/classes/testsdk.bbclass
@@ -114,7 +114,15 @@ def testsdkext_main(d):
bb.plain("Running SDK Compatibility tests ...")
run_test_context(SDKTestContext, d, testdir, tcname, pn)
finally:
- bb.utils.remove(testdir, True)
+ pass
+
+ try:
+ bb.plain("Running Extensible SDK tests ...")
+ run_test_context(SDKExtTestContext, d, testdir, tcname, pn)
+ finally:
+ pass
+
+ bb.utils.remove(testdir, True)
testsdkext_main[vardepsexclude] =+ "BB_ORIGENV"