Hi all, this patch series introduces a framework to execute simple unit and functional tests in raisin. It can be used by developers to validate their changes before submitting a patch series to xen-devel. It can also be used by OSSTest to test for regressions on one particular functionality. This patch series only introduces two tests: a PV guest creation test and an HVM guest creation test. They are both based on busybox. More tests will follow.
Changes in v3: - source test scripts - expose a _test and a _cleanup function from the test script - add local migration test Stefano Stabellini (5): raisin: introduce tests raisin: add an hvm test raisin: improve output raisin: small stlye improvement in for_each_component raisin: introduce a local migration test README | 14 ++++ components/grub | 4 +- components/libvirt | 4 +- components/linux | 2 +- components/ovmf | 6 +- components/qemu | 2 +- components/qemu_traditional | 2 +- components/seabios | 6 +- components/xen | 8 +- defconfig | 5 ++ lib/commands.sh | 22 +++--- lib/common-functions.sh | 147 ++++++++++++++++++++++++++++++------ lib/common-tests.sh | 174 +++++++++++++++++++++++++++++++++++++++++++ raise | 8 +- scripts/lopartsetup | 67 +++++++++++++++++ tests/busybox-hvm | 43 +++++++++++ tests/busybox-hvm-migrate | 33 ++++++++ tests/busybox-pv | 37 +++++++++ tests/series | 3 + 19 files changed, 537 insertions(+), 50 deletions(-) create mode 100644 lib/common-tests.sh create mode 100755 scripts/lopartsetup create mode 100755 tests/busybox-hvm create mode 100755 tests/busybox-hvm-migrate create mode 100755 tests/busybox-pv create mode 100644 tests/series Cheers, Stefano _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel