From: Ed Bartosh Date: Thu, 30 Apr 2015 11:04:50 +0000 (+0300) Subject: oeqa/utils: Allow ~ in bblayers X-Git-Tag: 2015-10~1978 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b4dc5b271247a1894d66908c5f20973be2a60d43;p=openembedded-core.git oeqa/utils: Allow ~ in bblayers Bitbake can parse ~ in bblayer's paths. Added this functionality to oeqa code. Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py index e8a467f4cd..bc1dbb1a5f 100644 --- a/meta/lib/oeqa/utils/commands.py +++ b/meta/lib/oeqa/utils/commands.py @@ -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