diff options
author | Arthur She <arthur.she@linaro.org> | 2014-10-05 09:47:25 -0700 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-10-15 11:16:58 +0000 |
commit | 04d06939bf4501d870bc85b4883c9a8909bfb847 (patch) | |
tree | a5a7742629b871769c1b8ea7380514254beade22 /ubuntu/kselftest-vm.yaml | |
parent | 162ae95f869984b1a5cc13fee402261d27913b90 (diff) |
kselftest: Add in kernel selftests
Add cpu-hotplug, efivarfs, memory-hotplug, mqueue, net, ptrace, vm
tests for both openembedded and ubuntu
Change-Id: Ia0b77e6e287b66b07db295a6c9efcf56027cb969
Diffstat (limited to 'ubuntu/kselftest-vm.yaml')
-rw-r--r-- | ubuntu/kselftest-vm.yaml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/ubuntu/kselftest-vm.yaml b/ubuntu/kselftest-vm.yaml new file mode 100644 index 0000000..8228ad4 --- /dev/null +++ b/ubuntu/kselftest-vm.yaml @@ -0,0 +1,41 @@ +metadata: + name: kselftest-vm + format: "Lava-Test-Shell Test Definition 1.0" + description: + "These test code were came from kernel source KERNEL_SRC/tools/testing/selftests/ + For running this test, git is required in the rootfs" + maintainer: + - arthur.she@linaro.org + os: + - ubuntu + devices: + - arndale + - beaglebone-black + - rtsm_fvp_base-aemv8a + scope: + - functional + +install: + git-repos: + - http://git.linaro.org/qa/kselftest.git + steps: + - 'cd kselftest' + - 'git checkout $BRANCH' + - 'make -C vm' + deps: + - git + - build-essential + +params: + BRANCH: master + +run: + steps: + - './common/scripts/kselftest-runner.sh vm ./kselftest/vm/run_vmtests' + +parse: + pattern: "^(?P<test_case_id>[a-z_-]+):\\s\\[(?P<result>PASS|FAIL|SKIP)\\]" + fixupdict: + FAIL: fail + PASS: pass + SKIP: skip |