summaryrefslogtreecommitdiffstats
path: root/scripts/oe-selftest
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-07-27 14:03:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-27 23:29:14 +0100
commit67a3807c4cccc6b258e2e82038f3cdce453e709b (patch)
tree6df4046598ca6c9a778392dedb06e150673d89a9 /scripts/oe-selftest
parent3108e00d927fba20d433192a2af2bb275137372d (diff)
downloadpoky-67a3807c4cccc6b258e2e82038f3cdce453e709b.tar.gz
oe-selftest: add scripts/lib and bitbake/lib to path
In particular, this allows us to use code from bitbake's bb module (such as tinfoil). (From OE-Core rev: 5ca91cd0b56eb2da80c781fb46ae0b600c3f1eb9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-selftest')
-rwxr-xr-xscripts/oe-selftest5
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
31import logging 31import logging
32import argparse 32import argparse
33 33
34sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'meta/lib'))) 34sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)) + '/lib')
35import scriptpath
36scriptpath.add_bitbake_lib_path()
37scriptpath.add_oe_lib_path()
35 38
36import oeqa.selftest 39import oeqa.selftest
37import oeqa.utils.ftools as ftools 40import oeqa.utils.ftools as ftools