diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/oe-test | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/scripts/oe-test b/scripts/oe-test index efb83c3e78..55985b0b24 100755 --- a/scripts/oe-test +++ b/scripts/oe-test | |||
@@ -7,18 +7,14 @@ | |||
7 | # SPDX-License-Identifier: MIT | 7 | # SPDX-License-Identifier: MIT |
8 | # | 8 | # |
9 | 9 | ||
10 | import argparse | ||
11 | import glob | ||
12 | import logging | ||
13 | import os | 10 | import os |
14 | import sys | 11 | import sys |
12 | import argparse | ||
13 | import logging | ||
15 | 14 | ||
16 | scripts_path = os.path.dirname(os.path.realpath(__file__)) | 15 | scripts_path = os.path.dirname(os.path.realpath(__file__)) |
17 | lib_path = os.path.join(scripts_path, 'lib') | 16 | lib_path = scripts_path + '/lib' |
18 | sys.path.append(lib_path) | 17 | sys.path = sys.path + [lib_path] |
19 | meta_lib_paths = glob.glob(scripts_path + '/*/lib', root_dir=scripts_path, recursive=True) | ||
20 | for p in meta_lib_paths: | ||
21 | sys.path.append(p) | ||
22 | import argparse_oe | 18 | import argparse_oe |
23 | import scriptutils | 19 | import scriptutils |
24 | 20 | ||