mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
scripts/oe-selftest: Remove inadvertant python3 specific change
(From OE-Core rev: 1bfe160fa1050c189364e2dec5d018f3ac91a670) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
+1
-1
@@ -442,7 +442,7 @@ def main():
|
|||||||
bbpath = get_bb_var('BBPATH').split(':')
|
bbpath = get_bb_var('BBPATH').split(':')
|
||||||
layer_libdirs = [p for p in (os.path.join(l, 'lib') for l in bbpath) if os.path.exists(p)]
|
layer_libdirs = [p for p in (os.path.join(l, 'lib') for l in bbpath) if os.path.exists(p)]
|
||||||
sys.path.extend(layer_libdirs)
|
sys.path.extend(layer_libdirs)
|
||||||
imp.reload(oeqa.selftest)
|
reload(oeqa.selftest)
|
||||||
|
|
||||||
if args.run_tests_by and len(args.run_tests_by) >= 2:
|
if args.run_tests_by and len(args.run_tests_by) >= 2:
|
||||||
valid_options = ['name', 'class', 'module', 'id', 'tag']
|
valid_options = ['name', 'class', 'module', 'id', 'tag']
|
||||||
|
|||||||
Reference in New Issue
Block a user