summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/imagetest-qemu.bbclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/classes/imagetest-qemu.bbclass b/meta/classes/imagetest-qemu.bbclass
index c30d1cbc85..94bed3b797 100644
--- a/meta/classes/imagetest-qemu.bbclass
+++ b/meta/classes/imagetest-qemu.bbclass
@@ -137,15 +137,15 @@ def qemuimagetest_main(d):
137 137
138 f = open(scenlist, "r") 138 f = open(scenlist, "r")
139 for line in f: 139 for line in f:
140 if item != line.split()[0]: 140 if item != line.split()[0]:
141 continue 141 continue
142 else: 142 else:
143 casefile = line.split()[1] 143 casefile = line.split()[1]
144 144
145 fulltestcase = os.path.join(dir, item, casefile) 145 fulltestcase = os.path.join(dir, item, casefile)
146 if not os.path.isfile(fulltestcase): 146 if not os.path.isfile(fulltestcase):
147 raise bb.build.FuncFailed("Testcase %s not found" % fulltestcase) 147 raise bb.build.FuncFailed("Testcase %s not found" % fulltestcase)
148 list.append((item, casefile, fulltestcase)) 148 list.append((item, casefile, fulltestcase))
149 f.close() 149 f.close()
150 final_list = check_list(list) 150 final_list = check_list(list)
151 return final_list 151 return final_list