diff options
Diffstat (limited to 'scripts/oe-selftest')
-rwxr-xr-x | scripts/oe-selftest | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/oe-selftest b/scripts/oe-selftest index 60f9bb88f5..91e2dd2824 100755 --- a/scripts/oe-selftest +++ b/scripts/oe-selftest | |||
@@ -31,7 +31,10 @@ import unittest | |||
31 | import logging | 31 | import logging |
32 | import argparse | 32 | import argparse |
33 | 33 | ||
34 | sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'meta/lib'))) | 34 | sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)) + '/lib') |
35 | import scriptpath | ||
36 | scriptpath.add_bitbake_lib_path() | ||
37 | scriptpath.add_oe_lib_path() | ||
35 | 38 | ||
36 | import oeqa.selftest | 39 | import oeqa.selftest |
37 | import oeqa.utils.ftools as ftools | 40 | import oeqa.utils.ftools as ftools |