metadata: name: kselftest-ptrace format: "Lava-Test-Shell Test Definition 1.0" description: "Linux kernel Kselftest-ptrace test for Linaro OpenEmbedded builds. The kernel contains a set of 'self tests' under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths. kself-ptrace test uses ptrace or process trace system call that provides a means by which, one process can observe and control the execution of another process and examine and change the tracee's memory and registers." maintainer: - arthur.she@linaro.org os: - openembedded devices: - arndale - beaglebone-black - rtsm_fvp_base-aemv8a - juno scope: - functional install: git-repos: - url: http://git.linaro.org/qa/kselftest.git branch: BRANCH steps: - 'cd kselftest' - 'sed -i "1s/^/CFLAGS = -DPAGE_SIZE=4096\n/" ptrace/Makefile' - 'make -C ptrace' params: BRANCH: master run: steps: - './kselftest/ptrace/peeksiginfo && echo "peeksiginfo selftests: pass" || echo "peeksiginfo selftests: fail"' parse: pattern: "^(?P[a-z_ ]+):\\s(?Ppass|fail)"