mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
test: add automation framework and sanitytest
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>
This commit is contained in:
committed by
Richard Purdie
parent
bd19169a60
commit
fd1d661b39
@@ -1,5 +1,8 @@
|
||||
inherit rootfs_${IMAGE_PKGTYPE}
|
||||
|
||||
IMAGETEST ?= "dummy"
|
||||
inherit imagetest-${IMAGETEST}
|
||||
|
||||
LICENSE = "MIT"
|
||||
PACKAGES = ""
|
||||
RDEPENDS += "${IMAGE_INSTALL}"
|
||||
|
||||
Reference in New Issue
Block a user