summaryrefslogtreecommitdiff
path: root/ubuntu/kselftest-ptrace.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-ptrace.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-ptrace.yaml')
-rw-r--r--ubuntu/kselftest-ptrace.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/ubuntu/kselftest-ptrace.yaml b/ubuntu/kselftest-ptrace.yaml
new file mode 100644
index 0000000..1a63860
--- /dev/null
+++ b/ubuntu/kselftest-ptrace.yaml
@@ -0,0 +1,38 @@
+metadata:
+ name: kselftest-ptrace
+ 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'
+ - 'sed -i "1s/^/CFLAGS = -DPAGE_SIZE=4096\n/" ptrace/Makefile'
+ - 'make -C ptrace'
+ deps:
+ - git
+ - build-essential
+
+params:
+ BRANCH: master
+
+run:
+ steps:
+ - './kselftest/ptrace/peeksiginfo && echo "peeksiginfo selftests: pass" || echo "peeksiginfo selftests: fail"'
+
+parse:
+ pattern: "^(?P<test_case_id>[a-z_ ]+):\\s(?P<result>pass|fail)"