diff options
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' | |||
| 16 | sys.path = sys.path + [lib_path] | 16 | sys.path = sys.path + [lib_path] |
| 17 | import argparse_oe | 17 | import argparse_oe |
| 18 | import scriptutils | 18 | import scriptutils |
| 19 | import scriptpath | 19 | |
| 20 | scriptpath.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) | ||
| 22 | try: | ||
| 23 | import scriptpath | ||
| 24 | scriptpath.add_oe_lib_path() | ||
| 25 | except ImportError: | ||
| 26 | pass | ||
| 21 | 27 | ||
| 22 | from oeqa.core.context import OETestContextExecutor | 28 | from oeqa.core.context import OETestContextExecutor |
| 23 | 29 | ||
