oeqa/utils: Allow ~ in bblayers
Bitbake can parse ~ in bblayer's paths. Added this functionality to oeqa code. (From OE-Core rev: b4dc5b271247a1894d66908c5f20973be2a60d43) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
0d9903d8b9
commit
8bc5ccb7a6
|
@ -155,6 +155,8 @@ def get_test_layer():
|
|||
layers = get_bb_var("BBLAYERS").split()
|
||||
testlayer = None
|
||||
for l in layers:
|
||||
if '~' in l:
|
||||
l = os.path.expanduser(l)
|
||||
if "/meta-selftest" in l and os.path.isdir(l):
|
||||
testlayer = l
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue