Files
poky/meta/conf/layer.conf
Jiajun Xu fd1d661b39 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>
2010-07-15 12:48:25 +01:00

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