1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-27 19:37:10 +00:00
Files
poky/meta/lib/oeqa/sdkext/context.py
T
Richard Purdie 78195a23b0 oeqa/sdkext: Ensure we run a deterministic set of tests
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.

(From OE-Core rev: 11365d869c03cb0e476ea43e75ce27090a33dfa7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-01 23:27:11 +00:00

22 lines
721 B
Python

# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
import os
from oeqa.sdk.context import OESDKTestContext, OESDKTestContextExecutor
class OESDKExtTestContext(OESDKTestContext):
esdk_files_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "files")
class OESDKExtTestContextExecutor(OESDKTestContextExecutor):
_context_class = OESDKExtTestContext
name = 'esdk'
help = 'esdk test component'
description = 'executes esdk tests'
default_cases = OESDKTestContextExecutor.default_cases + \
[os.path.join(os.path.abspath(os.path.dirname(__file__)), 'cases')]
default_test_data = None
_executor_class = OESDKExtTestContextExecutor