mirror of
https://git.yoctoproject.org/poky
synced 2026-03-03 22:09:39 +01:00
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>
20 lines
517 B
Plaintext
20 lines
517 B
Plaintext
# We have a conf and classes directory, add to BBPATH
|
|
BBPATH := "${BBPATH}${LAYERDIR}"
|
|
|
|
# We have a packages directory, add to BBFILES
|
|
BBFILES := "${BBFILES} ${LAYERDIR}/packages/*/*.bb"
|
|
|
|
BBFILE_COLLECTIONS += "normal"
|
|
BBFILE_PATTERN_normal := "^${LAYERDIR}/"
|
|
BBFILE_PRIORITY_normal = "5"
|
|
|
|
# Add scripts to PATH
|
|
PATH := "${PATH}:${LAYERDIR}/scripts"
|
|
|
|
# Set path to qemu image tests included in this layer
|
|
|
|
QEMUIMAGETESTS := "${OEROOT}/scripts/qemuimage-tests"
|
|
|
|
require conf/distro/include/poky-default-revisions.inc
|
|
|