aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qemuimage-testlib
AgeCommit message (Collapse)Author
2010-09-02qemuimage-testlib: kill qemu process according to its pid, instead of ↵Jiajun Xu
process name poky-qemu-internal will set up a tap lockfile when creating tap device. The lockfile will be released when a TERM signal is received. In previous code, function Test_Kill_Qemu uses pkill to kill all process named "qemu". This may cause lockfile release function not work in poky-qemu-internal. Then poky-qemu-internal will be hang when user start QEMU the second time. To prevent the issue, the new function Test_Kill_Qemu kills all child pid with a given parent process ID. Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
2010-08-13testlib: Add support for qemumips/qemuppc/qemux86-64, and add support for ↵Jiajun Xu
testing with images from autobuilder Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
2010-07-15test: add automation framework and sanitytestJiajun Xu
Automation test is disabled by default. User need set TESTCLASS to qemu in conf/local.conf and run bitbake command "bitbake poky-image-xxx" or "bitbake poky-image-xxx -c qemuimagetest" to trigger it. Currently only the sanity test with two testcases are added. To run the test, user need prepare a testing environment: 1) "expect" should be installed on system 2) NOPASSWD should be set for user to run bitbake Signed-off-by Jiajun Xu <jiajun.xu@intel.com>