diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2015-07-03 15:07:16 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2015-07-27 20:03:47 +0100 |
commit | 65d6a779f3a8b1b57c0e37b896af6a3816cc5c63 (patch) | |
tree | 35286ea5fd3f6619b581f817ecab5133fe8d6bb8 | |
parent | 26a803bd3995f2b091325ae10569e61f4e99e7f6 (diff) |
new: ubuntu/kvm-unit-testsqemu-testing
Introduce the kvm-unit-tests which can do low level testing of both KVM
and QEMU.
Change-Id: Ia3a7ab64e4a8f6e742b94514d5376c25055a9df2
-rw-r--r-- | ubuntu/kvm-unit-tests.yaml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/ubuntu/kvm-unit-tests.yaml b/ubuntu/kvm-unit-tests.yaml new file mode 100644 index 0000000..54f3466 --- /dev/null +++ b/ubuntu/kvm-unit-tests.yaml @@ -0,0 +1,46 @@ +metadata: + name: kvm-unit-tests + format: "Lava-Test-Shell Test Definition 1.0" + description: "Build and run the kvm-unit-tests" + maintainer: + - alex.bennee@linaro.org + os: + - ubuntu + scope: + - functional + devices: + - kvm + - x86 + - mustang + +params: + REPO: git://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git + BRANCH: master + COMPILE_PATH: /opt/bin/ + CONFIG_OPTS: --arch=arm64 + QEMU_BIN: /usr/bin/qemu-system-aarch64 + +install: + # Build the kvm-unit-tests + steps: + - cd ${HOME} + - rm -rf kvm-unit-tests.git + - git clone ${REPO} kvm-unit-tests.git + - cd kvm-unit-tests.git + - git checkout -b build origin/${BRANCH} + - export PATH=${COMPILE_PATH}:${PATH} + - ./configure ${CONFIG_OPTS} + - make + + deps: + - build-essential + +run: + steps: + - cd ${HOME}/kvm-unit-tests.git + - QEMU=$QEMU_BIN ./run-tests.sh + +parse: + # results are of the form: + # PASS selftest::setup + pattern: "^\\s*(?P<result>\\w+)\\s+(?P<test_case_id>\\w+)\\s*$" |