summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/sdkext/context.py
blob: bee8c39b0aacbb0650fb06ec69b6d3c81a311d9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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