]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/sdkext: Ensure we run a deterministic set of tests
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Mar 2017 10:59:13 +0000 (10:59 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Mar 2017 16:11:40 +0000 (16:11 +0000)
The directory list of sdk tests to run can vary so this code effectively selects
a random set of SDK tests to run in the eSDK. We want to attemp all the SDK tests
so remove the element selection.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/sdkext/context.py

index 8dbcd807b4ed4ec2de3006c8cd6d2165315b0960..bee8c39b0aacbb0650fb06ec69b6d3c81a311d9b 100644 (file)
@@ -14,8 +14,8 @@ class OESDKExtTestContextExecutor(OESDKTestContextExecutor):
     help = 'esdk test component'
     description = 'executes esdk tests'
 
-    default_cases = [OESDKTestContextExecutor.default_cases[0],
-            os.path.join(os.path.abspath(os.path.dirname(__file__)), 'cases')]
+    default_cases = OESDKTestContextExecutor.default_cases + \
+            [os.path.join(os.path.abspath(os.path.dirname(__file__)), 'cases')]
     default_test_data = None
 
 _executor_class = OESDKExtTestContextExecutor