summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/kselftests
Commit message (Collapse)AuthorAgeFilesLines
* kselftests: Fix typo in COMPATIBLE_MACHINEKhem Raj2019-11-211-2/+2
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* kselftests: Disable for riscvKhem Raj2019-11-191-0/+3
| | | | | | | 4.10 did not have RISC-V support Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* kselftests: re-add ptp into main RDEPENDSDenys Dmytriyenko2019-10-311-0/+1
| | | | | | | Commit 371b7bb52225a3f7aadf57910aa9af3bf26c0e78 enabled ptp package, but did not add it to RDEPENDS, fix it. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* kselftests: enable ptp/testptp targetDenys Dmytriyenko2019-05-182-0/+28
| | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* kselftests: suppress no GNU_HASH warning due to kernel LDFLAGS usedDenys Dmytriyenko2018-04-051-0/+4
| | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* kselftests: remove numactl deps, as it's in meta-oe and not needed for armDenys Dmytriyenko2018-03-011-1/+0
| | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* kselftests: bypass seccomp gcc7 build failure, gpio RDEPENDS on bashDenys Dmytriyenko2017-10-191-0/+4
| | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* kselftests: add bc dependency to zram testFathi Boudra2017-03-301-1/+1
| | | | | | | | 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>
* kselftests: allow net target to be empty when it can't link with numa on armDenys Dmytriyenko2017-03-301-0/+4
| | | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com> Cc: Fathi Boudra <fathi.boudra@linaro.org>
* kselftests: gpio calls pkg-config, explicitly depend on pkgconfig-nativeDenys Dmytriyenko2017-03-301-1/+1
| | | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com> Cc: Fathi Boudra <fathi.boudra@linaro.org>
* kselftests: update to 4.10Fathi Boudra2017-03-298-54/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* kselftests: fix up run_kselftest.sh due to spurious linesFathi Boudra2017-03-211-0/+2
| | | | | | | | | | 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>
* kselftests: fix futex functional tests buildFathi Boudra2017-03-211-0/+1
| | | | | | | | | | | 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>
* kselftests: add bash/ncurses runtime dependency for futex testFathi Boudra2017-03-191-0/+1
| | | | | | | futex test requires tput at runtime. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* kselftests: fix seccomp test build failureFathi Boudra2017-03-171-0/+1
| | | | | | | | 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>
* kselftests: add libcap-ng dependencyFathi Boudra2017-03-171-1/+1
| | | | | | | 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>
* kselftests: fix sigaltstack packagingDenys Dmytriyenko2017-03-171-0/+1
| | | | | | | 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>
* kselftests: update to 4.9Fathi Boudra2017-03-171-17/+110
| | | | | | | | | | | | | * 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>
* kselftests: set file ownership to root, avoid contamination warningsDenys Dmytriyenko2017-03-141-0/+1
| | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* kselftests: add rsync build dependencyFathi Boudra2017-03-141-1/+1
| | | | | | | | | 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>
* kselftests: update to 4.4, don't need to depend on kernelDenys Dmytriyenko2016-07-291-3/+3
| | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* kselftests: make machine-specific due to kernel-specific conditionalsDenys Dmytriyenko2015-11-121-0/+2
| | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* kselftests: ipc tests are machine-specific, don't blindly put in main RDEPENDSDenys Dmytriyenko2015-09-101-1/+1
| | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* kselftests: add 4.1 version of Kernel Selftest suiteDenys Dmytriyenko2015-08-111-0/+86
Signed-off-by: Denys Dmytriyenko <denys@ti.com>