summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/devtool.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/devtool.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/devtool.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py
index 3a25da2033..f4b303bd1c 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -137,6 +137,7 @@ class DevtoolBase(OESelftestTestCase):
137 with open(recipefile, 'r') as f: 137 with open(recipefile, 'r') as f:
138 invar = None 138 invar = None
139 invalue = None 139 invalue = None
140 inherits = set()
140 for line in f: 141 for line in f:
141 var = None 142 var = None
142 if invar: 143 if invar:
@@ -158,7 +159,7 @@ class DevtoolBase(OESelftestTestCase):
158 invar = var 159 invar = var
159 continue 160 continue
160 elif line.startswith('inherit '): 161 elif line.startswith('inherit '):
161 inherits = line.split()[1:] 162 inherits.update(line.split()[1:])
162 163
163 if var and var in checkvars: 164 if var and var in checkvars:
164 needvalue = checkvars.pop(var) 165 needvalue = checkvars.pop(var)