Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | qemuimage-testlib: kill qemu process according to its pid, instead of ↵ | Jiajun Xu | 2010-09-02 | 1 | -4/+49 |
| | | | | | | | | | | | | | 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> | ||||
* | testlib: Add support for qemumips/qemuppc/qemux86-64, and add support for ↵ | Jiajun Xu | 2010-08-13 | 1 | -7/+72 |
| | | | | | | testing with images from autobuilder Signed-off-by Jiajun Xu <jiajun.xu@intel.com> | ||||
* | test: add automation framework and sanitytest | Jiajun Xu | 2010-07-15 | 1 | -0/+202 |
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> |