mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
testexport.bbclass: Migrate testexport to use new framework
This migrates current testexport implmentation to use the new OEQA framework. [YOCTO #10686] (From OE-Core rev: 92cb884c989460563a063b29d2be8b7acd20577e) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1cc2bac7ec
commit
46ce0b5ef3
@@ -16,8 +16,14 @@ lib_path = scripts_path + '/lib'
|
||||
sys.path = sys.path + [lib_path]
|
||||
import argparse_oe
|
||||
import scriptutils
|
||||
import scriptpath
|
||||
scriptpath.add_oe_lib_path()
|
||||
|
||||
# oe-test is used for testexport and it doesn't have oe lib
|
||||
# so we just skip adding these libraries (not used in testexport)
|
||||
try:
|
||||
import scriptpath
|
||||
scriptpath.add_oe_lib_path()
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
from oeqa.core.context import OETestContextExecutor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user