diff options
Diffstat (limited to 'recipes-extended/images/xtf-image.bb')
-rw-r--r-- | recipes-extended/images/xtf-image.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-extended/images/xtf-image.bb b/recipes-extended/images/xtf-image.bb new file mode 100644 index 00000000..f9ecea91 --- /dev/null +++ b/recipes-extended/images/xtf-image.bb @@ -0,0 +1,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" |