xref: /OK3568_Linux_fs/yocto/poky/scripts/lib/checklayer/context.py (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# Copyright (C) 2017 Intel Corporation
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# SPDX-License-Identifier: MIT
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunimport os
7*4882a593Smuzhiyunimport sys
8*4882a593Smuzhiyunimport glob
9*4882a593Smuzhiyunimport re
10*4882a593Smuzhiyun
11*4882a593Smuzhiyunfrom oeqa.core.context import OETestContext
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunclass CheckLayerTestContext(OETestContext):
14*4882a593Smuzhiyun    def __init__(self, td=None, logger=None, layer=None, test_software_layer_signatures=True):
15*4882a593Smuzhiyun        super(CheckLayerTestContext, self).__init__(td, logger)
16*4882a593Smuzhiyun        self.layer = layer
17*4882a593Smuzhiyun        self.test_software_layer_signatures = test_software_layer_signatures
18