1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-06-03 01:10:43 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
Denys Dmytriyenko 371b7bb522 kselftests: enable ptp/testptp target
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2019-05-17 22:31:45 +00:00
Denys Dmytriyenko 39adf9f129 kselftests: suppress no GNU_HASH warning due to kernel LDFLAGS used
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-04-05 00:17:53 -04:00
Denys Dmytriyenko 7348f51984 kselftests: remove numactl deps, as it's in meta-oe and not needed for arm
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-03-01 13:52:10 -05:00
Denys Dmytriyenko 4bddfabce9 kselftests: bypass seccomp gcc7 build failure, gpio RDEPENDS on bash
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-10-19 02:44:10 -04:00
Fathi Boudra e984d13a1d kselftests: add bc dependency to zram test
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-30 14:13:50 -04:00
Denys Dmytriyenko c723eb9ec6 kselftests: allow net target to be empty when it can't link with numa on arm
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Fathi Boudra <fathi.boudra@linaro.org>
2017-03-30 14:13:42 -04:00
Denys Dmytriyenko b93bbc8415 kselftests: gpio calls pkg-config, explicitly depend on pkgconfig-native
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Fathi Boudra <fathi.boudra@linaro.org>
2017-03-30 14:13:36 -04:00
Fathi Boudra 48392e5a6f kselftests: update to 4.10
* 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-29 20:05:09 -04:00
Fathi Boudra f78cda06dc kselftests: fix up run_kselftest.sh due to spurious lines
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-21 21:20:51 -04:00
Fathi Boudra 9bf6cbfcf9 kselftests: fix futex functional tests build
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-21 21:20:44 -04:00
Fathi Boudra 5ec1fd6753 kselftests: add bash/ncurses runtime dependency for futex test
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-19 12:51:29 -04:00
Fathi Boudra 6df82e61d6 kselftests: fix seccomp test build failure
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-17 16:23:05 -04:00
Fathi Boudra 5542938e56 kselftests: add libcap-ng dependency
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-17 16:22:53 -04:00
Denys Dmytriyenko cf47427823 kselftests: fix sigaltstack packaging
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-17 16:22:43 -04:00
Fathi Boudra 83eae355c7 kselftests: update to 4.9
* 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-17 16:21:41 -04:00
Denys Dmytriyenko 5169e2c9a6 kselftests: set file ownership to root, avoid contamination warnings
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-14 21:39:51 -04:00
Fathi Boudra 3e7707dd17 kselftests: add rsync build dependency
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>
2017-03-14 21:39:47 -04:00
Denys Dmytriyenko 78b386ee50 kselftests: update to 4.4, don't need to depend on kernel
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-29 17:51:55 -04:00
Denys Dmytriyenko 73c8b89296 kselftests: make machine-specific due to kernel-specific conditionals
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-12 08:15:15 -05:00
Denys Dmytriyenko 250d88ce3a kselftests: ipc tests are machine-specific, don't blindly put in main RDEPENDS
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-10 01:21:29 -04:00
Denys Dmytriyenko f55ca0fc55 kselftests: add 4.1 version of Kernel Selftest suite
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-11 23:33:07 -04:00