summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-test12
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
10import argparse
11import glob
12import logging
13import os 10import os
14import sys 11import sys
12import argparse
13import logging
15 14
16scripts_path = os.path.dirname(os.path.realpath(__file__)) 15scripts_path = os.path.dirname(os.path.realpath(__file__))
17lib_path = os.path.join(scripts_path, 'lib') 16lib_path = scripts_path + '/lib'
18sys.path.append(lib_path) 17sys.path = sys.path + [lib_path]
19meta_lib_paths = glob.glob(scripts_path + '/*/lib', root_dir=scripts_path, recursive=True)
20for p in meta_lib_paths:
21 sys.path.append(p)
22import argparse_oe 18import argparse_oe
23import scriptutils 19import scriptutils
24 20