aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/kselftests
AgeCommit message (Collapse)Author
2019-05-18kselftests: enable ptp/testptp targetDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-04-05kselftests: suppress no GNU_HASH warning due to kernel LDFLAGS usedDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-03-01kselftests: remove numactl deps, as it's in meta-oe and not needed for armDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-10-19kselftests: bypass seccomp gcc7 build failure, gpio RDEPENDS on bashDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-30kselftests: add bc dependency to zram testFathi Boudra
In the zram tests, zram01.sh script calls bc command. Add bc to zram RDEPENDS. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-30kselftests: allow net target to be empty when it can't link with numa on armDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com> Cc: Fathi Boudra <fathi.boudra@linaro.org>
2017-03-30kselftests: gpio calls pkg-config, explicitly depend on pkgconfig-nativeDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com> Cc: Fathi Boudra <fathi.boudra@linaro.org>
2017-03-29kselftests: update to 4.10Fathi Boudra
* Adjust md5sum/sha256sum for the updated tarball * Add new dependencies: - numactl, used by net tests (for libnuma) - util-linux, used by gpio tests (for libmount) * Get rid of the TARGETS list, manually maintained. Rely on the top-level Makefile to call all the TARGETS. As a result, TARGETS isn't passed to EXTRA_OEMAKE anymore. * Update EXTRA-OEMAKE: - pass V=1 to be more verbose in the logs - pass LD to fix gpio tests and avoid to use native linker causing a build failure in cross-compilation environment. * Call headers_install in do_compile() to make sure to install the user space API used by some tests but not properly declared as a build dependency. * Add new packages: bpf, gpio and sync tests. * Allow empty package for bpf. It fails to build and need to be fixed. * Add sudo to vm package RDEPENDS. * Add breakpoints package on Aarch64. An arch specific test has been added, though it is currently broken due to missing TRAP_BRANCH and TRAP_HWBKPT definitions in glibc siginfo. * Add ipc package on Aarch64. * Get rid of do_configure() and convert the Makefiles fixes to patches, easier to upstream. * Add patches to fix gpio and net tests. Also add a partial patch for breakpoints on Aarch64, not applied for now because we need the glibc fixes counterpart (see explanation above). Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-21kselftests: fix up run_kselftest.sh due to spurious linesFathi Boudra
run_kselftests.sh contains randomly spurious lines starting by "make[1]:". The way the script is generated is most likely broken. Until, we've got a proper fix, get rid of the lines after the generated script is installed. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-21kselftests: fix futex functional tests buildFathi Boudra
Recursive makefile is broken because it's using the same TARGETS variable as selftests topdir and prevent to build futex functional tests: make[2]: Nothing to be done for `all'. Rename the variable to F_TARGETS in the futex functional tests Makefile. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-19kselftests: add bash/ncurses runtime dependency for futex testFathi Boudra
futex test requires tput at runtime. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-17kselftests: fix seccomp test build failureFathi Boudra
Use the same fixup as used for timers test: use LDLIBS to properly link against libpthread. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-17kselftests: add libcap-ng dependencyFathi Boudra
libcap-ng is required to build capabilities tests. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-17kselftests: fix sigaltstack packagingDenys Dmytriyenko
sigaltstack was not using TEST_PROGS resulting in binary not being installed Signed-off-by: Denys Dmytriyenko <denys@ti.com> Cc: Fathi Boudra <fathi.boudra@linaro.org>
2017-03-17kselftests: update to 4.9Fathi Boudra
* Adjust md5sum/sha256sum for the updated tarball * Add libpcap dependency, needed by vm/mlock-random-test * Rewrite TARGETS as a list (easier to copy/paste/update) and filter out arch specific tests using bb.utils.contains_any() * Add new tests introduced with 4.9 : capabilities, futex, lib, membarrier, nsfs, pstore, seccomp, sigalstack, static_keys, zram. * Adjust the packages list for the new tests. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-14kselftests: set file ownership to root, avoid contamination warningsDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-14kselftests: add rsync build dependencyFathi Boudra
lib.mk is calling rsync: | /bin/sh: 1: rsync: not found | ../lib.mk:24: recipe for target 'install' failed Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-29kselftests: update to 4.4, don't need to depend on kernelDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-12kselftests: make machine-specific due to kernel-specific conditionalsDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-10kselftests: ipc tests are machine-specific, don't blindly put in main RDEPENDSDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-11kselftests: add 4.1 version of Kernel Selftest suiteDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com>