summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/utils/commands.py')
-rw-r--r--meta/lib/oeqa/utils/commands.py2
1 files changed, 2 insertions, 0 deletions
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():
155 layers = get_bb_var("BBLAYERS").split() 155 layers = get_bb_var("BBLAYERS").split()
156 testlayer = None 156 testlayer = None
157 for l in layers: 157 for l in layers:
158 if '~' in l:
159 l = os.path.expanduser(l)
158 if "/meta-selftest" in l and os.path.isdir(l): 160 if "/meta-selftest" in l and os.path.isdir(l):
159 testlayer = l 161 testlayer = l
160 break 162 break