summaryrefslogtreecommitdiffstats
path: root/meta/classes/imagetest-qemu.bbclass
diff options
context:
space:
mode:
authorJiajun Xu <jiajun.xu@intel.com>2010-10-30 01:03:22 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-10 21:09:22 +0800
commit12a861359a3413ded52174c814e8653c56caee17 (patch)
tree305a53f25d58def6e2793e7f6fcdd1a7387f0287 /meta/classes/imagetest-qemu.bbclass
parent53b775b49645ce6bcac48def8671bf5f751c730b (diff)
downloadpoky-12a861359a3413ded52174c814e8653c56caee17.tar.gz
imagetest-qemu: Add test case for dmesg check in target
Add a test case for error log check with command dmesg in target. The case introduces a new folder in target, "/opt/test", which holds test scripts running in target. Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
Diffstat (limited to 'meta/classes/imagetest-qemu.bbclass')
-rw-r--r--meta/classes/imagetest-qemu.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/imagetest-qemu.bbclass b/meta/classes/imagetest-qemu.bbclass
index 5742644e02..bd4dc9c0bf 100644
--- a/meta/classes/imagetest-qemu.bbclass
+++ b/meta/classes/imagetest-qemu.bbclass
@@ -133,9 +133,11 @@ python do_qemuimagetest() {
133 ret = 1 133 ret = 1
134 elif m.group('noresult') == "1": 134 elif m.group('noresult') == "1":
135 ret = 2 135 ret = 2
136 print line, 136 line = line.strip('\n')
137 bb.note(line)
137 else: 138 else:
138 print line, 139 line = line.strip('\n')
140 bb.note(line)
139 f.close() 141 f.close()
140 142
141 if ret != 0: 143 if ret != 0: