summaryrefslogtreecommitdiff
path: root/ubuntu/kselftest-memory-hotplug.yaml
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2014-10-05 09:47:25 -0700
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2014-10-15 11:16:58 +0000
commit04d06939bf4501d870bc85b4883c9a8909bfb847 (patch)
treea5a7742629b871769c1b8ea7380514254beade22 /ubuntu/kselftest-memory-hotplug.yaml
parent162ae95f869984b1a5cc13fee402261d27913b90 (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-memory-hotplug.yaml')
-rw-r--r--ubuntu/kselftest-memory-hotplug.yaml39
1 files changed, 39 insertions, 0 deletions
diff --git a/ubuntu/kselftest-memory-hotplug.yaml b/ubuntu/kselftest-memory-hotplug.yaml
new file mode 100644
index 0000000..2ed64f7
--- /dev/null
+++ b/ubuntu/kselftest-memory-hotplug.yaml
@@ -0,0 +1,39 @@
+metadata:
+ name: kselftest-memory-hotplug
+ 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'
+ deps:
+ - git
+
+params:
+ BRANCH: master
+
+run:
+ steps:
+ - './common/scripts/kselftest-runner.sh memory-hotplug ./kselftest/memory-hotplug/on-off-test.sh'
+
+parse:
+ pattern: "^(?P<test_case_id>[a-z_-]+):\\s\\[(?P<result>PASS|FAIL|SKIP)\\]"
+ fixupdict:
+ FAIL: fail
+ PASS: pass
+ SKIP: skip