blob: 041ef976ebe47da07c12cd9c99963ed6494255e9 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001# Copyright (C) 2016 Intel Corporation
2# Released under the MIT license (see COPYING.MIT)
3
4from oeqa.core.loader import OETestLoader
5from oeqa.runtime.case import OERuntimeTestCase
6
7class OERuntimeTestLoader(OETestLoader):
8 caseClass = OERuntimeTestCase
9
10 def _getTestCase(self, testCaseClass, tcName):
11 case = super(OERuntimeTestLoader, self)._getTestCase(testCaseClass, tcName)
12
13 # Adds custom attributes to the OERuntimeTestCase
14 setattr(case, 'target', self.tc.target)
15
16 return case