]> xenbits.xensource.com Git - raisin.git/commit
raisin: introduce tests
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 12 May 2015 13:27:09 +0000 (13:27 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 12 May 2015 13:27:09 +0000 (13:27 +0000)
commitf877c9d34e0b926748572b7b7a6466c267fcd26d
tree75a1430c7b98d4db1fc0424b46ad464dc9fa1129
parent8c2528d2c70c16220694a1b836d61d5ffa9543be
raisin: introduce tests

Introduce a new command to run functional tests and unit tests.
Introduce a generic infrastrucutre to run tests on the local machine.
Add a library of common functions that can be used by the test scripts
to setup guest VMs.

Add a simple test script that boots a single busybox based PV guest.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
---

Changes in v3:

- source test scripts
- expose a _test and a _cleanup function from the test script

Changes in v2:

- use found as a boolean
- print error to stderr
README
defconfig
lib/commands.sh
lib/common-functions.sh
lib/common-tests.sh [new file with mode: 0644]
raise
tests/busybox-pv [new file with mode: 0755]
tests/series [new file with mode: 0644]