summaryrefslogtreecommitdiffstats
path: root/scripts/oe-selftest
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-22 16:06:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-22 16:11:12 +0100
commitf9b0781534caacf7ec8069971f89475d9c77d7cb (patch)
tree936092b6c3e21bba8f875a0f9e144a33355fbfbe /scripts/oe-selftest
parent66b484fbc6190b4c99e5428ad26c0ce984e57eaf (diff)
downloadpoky-f9b0781534caacf7ec8069971f89475d9c77d7cb.tar.gz
scripts/oe-selftest: Remove inadvertant python3 specific change
(From OE-Core rev: 1bfe160fa1050c189364e2dec5d018f3ac91a670) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-selftest')
-rwxr-xr-xscripts/oe-selftest2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index 900b3f4873..00ef51f516 100755
--- a/scripts/oe-selftest
+++ b/scripts/oe-selftest
@@ -442,7 +442,7 @@ def main():
442 bbpath = get_bb_var('BBPATH').split(':') 442 bbpath = get_bb_var('BBPATH').split(':')
443 layer_libdirs = [p for p in (os.path.join(l, 'lib') for l in bbpath) if os.path.exists(p)] 443 layer_libdirs = [p for p in (os.path.join(l, 'lib') for l in bbpath) if os.path.exists(p)]
444 sys.path.extend(layer_libdirs) 444 sys.path.extend(layer_libdirs)
445 imp.reload(oeqa.selftest) 445 reload(oeqa.selftest)
446 446
447 if args.run_tests_by and len(args.run_tests_by) >= 2: 447 if args.run_tests_by and len(args.run_tests_by) >= 2:
448 valid_options = ['name', 'class', 'module', 'id', 'tag'] 448 valid_options = ['name', 'class', 'module', 'id', 'tag']