From: Stefano Stabellini Subject: [PATCH v3 0/5] raisin: introduce tests Date: Wed, 6 May 2015 16:58:48 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xensource.com Cc: george.dunlap@eu.citrix.com, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org 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