summaryrefslogtreecommitdiffstats
path: root/scripts/oe-test
diff options
context:
space:
mode:
authorMariano Lopez <mariano.lopez@linux.intel.com>2017-01-18 13:23:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-23 12:05:21 +0000
commit46ce0b5ef3ee623cc9d366f83030363b470ed11e (patch)
tree9138b6eab333f439ddaa413eb335c399caf0018c /scripts/oe-test
parent1cc2bac7ecb5108096eb72710d2ca183b6cfe785 (diff)
downloadpoky-46ce0b5ef3ee623cc9d366f83030363b470ed11e.tar.gz
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>
Diffstat (limited to 'scripts/oe-test')
-rwxr-xr-xscripts/oe-test10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/oe-test b/scripts/oe-test
index 5731dff485..a1d282db33 100755
--- a/scripts/oe-test
+++ b/scripts/oe-test
@@ -16,8 +16,14 @@ lib_path = scripts_path + '/lib'
16sys.path = sys.path + [lib_path] 16sys.path = sys.path + [lib_path]
17import argparse_oe 17import argparse_oe
18import scriptutils 18import scriptutils
19import scriptpath 19
20scriptpath.add_oe_lib_path() 20# oe-test is used for testexport and it doesn't have oe lib
21# so we just skip adding these libraries (not used in testexport)
22try:
23 import scriptpath
24 scriptpath.add_oe_lib_path()
25except ImportError:
26 pass
21 27
22from oeqa.core.context import OETestContextExecutor 28from oeqa.core.context import OETestContextExecutor
23 29