aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/images/xtf-image.bb
blob: f9ecea915e38c613632b5893bf8d87bafd1a2808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
require recipes-extended/images/xen-image-minimal.bb
DESCRIPTION = "A minimal Xen Test Framework (XTF) image for testing the Xen hypervisor"

# To run XTF tests with an image built for the qemux86-64 MACHINE:
#
#   runqemu xtf-image nographic slirp
#       (login as root)
#       # xtf-runner expects to be run from the top of the tests directory:
#       cd /usr/libexec/xtf
#       # list the tests available for PV guest types:
#       ./xtf-runner --list pv
#       # run an example test:
#       ./xtf-runner test-pv64-livepatch-priv-check
#
# This image also supports the OE QA framework, so XTF tests can be
# run from bitbake by adding the following (or similar) to local.conf:
#
#   INHERIT += "testimage"
#   QEMU_USE_SLIRP = "1"
#   TEST_SERVER_IP = "127.0.0.1"
#
# and the tests that are configured (see the xtf-oeqa-conf package)
# can be run with: bitbake -c testimage xtf-image
#
# For testimage, see the qemu boot log: ${WORKDIR}/testimage/qemu_boot_log.*
# and the test log: ${WORKDIR}/temp/log.do_testimage

IMAGE_NAME="xtf"

IMAGE_INSTALL:append = " xtf"

DEFAULT_TEST_SUITES:append = " xtf_minimal"

QB_DEFAULT_FSTYPE:x86-64 = "wic"