diff options
Diffstat (limited to 'ubuntu/kselftest-ptrace.yaml')
-rw-r--r-- | ubuntu/kselftest-ptrace.yaml | 38 |
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)" |