diff options
author | Mariano Lopez <mariano.lopez@linux.intel.com> | 2017-01-18 13:23:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-23 12:03:57 +0000 |
commit | 92cb884c989460563a063b29d2be8b7acd20577e (patch) | |
tree | 7bc25c399bf032f0c259e7ce8668b8b9fcaa71d2 /scripts | |
parent | c78aeaac3b75610bada62b138c9670815a07ee80 (diff) | |
download | openembedded-core-92cb884c989460563a063b29d2be8b7acd20577e.tar.gz openembedded-core-92cb884c989460563a063b29d2be8b7acd20577e.tar.bz2 openembedded-core-92cb884c989460563a063b29d2be8b7acd20577e.zip |
testexport.bbclass: Migrate testexport to use new framework
This migrates current testexport implmentation to use the
new OEQA framework.
[YOCTO #10686]
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/oe-test | 10 |
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' 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 |