diff options
Diffstat (limited to 'meta/lib/oeqa/sdkext/context.py')
-rw-r--r-- | meta/lib/oeqa/sdkext/context.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/lib/oeqa/sdkext/context.py b/meta/lib/oeqa/sdkext/context.py new file mode 100644 index 0000000000..8dbcd807b4 --- /dev/null +++ b/meta/lib/oeqa/sdkext/context.py | |||
@@ -0,0 +1,21 @@ | |||
1 | # Copyright (C) 2016 Intel Corporation | ||
2 | # Released under the MIT license (see COPYING.MIT) | ||
3 | |||
4 | import os | ||
5 | from oeqa.sdk.context import OESDKTestContext, OESDKTestContextExecutor | ||
6 | |||
7 | class OESDKExtTestContext(OESDKTestContext): | ||
8 | esdk_files_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "files") | ||
9 | |||
10 | class OESDKExtTestContextExecutor(OESDKTestContextExecutor): | ||
11 | _context_class = OESDKExtTestContext | ||
12 | |||
13 | name = 'esdk' | ||
14 | help = 'esdk test component' | ||
15 | description = 'executes esdk tests' | ||
16 | |||
17 | default_cases = [OESDKTestContextExecutor.default_cases[0], | ||
18 | os.path.join(os.path.abspath(os.path.dirname(__file__)), 'cases')] | ||
19 | default_test_data = None | ||
20 | |||
21 | _executor_class = OESDKExtTestContextExecutor | ||