diff options
author | Kees Cook <keescook@chromium.org> | 2020-09-28 23:26:49 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-10-07 16:59:15 +0300 |
commit | 5da1918446a1d50d57f2f6062f7fdede0b052473 (patch) | |
tree | 1eee530b5d54455c9a939f042831d84a3856c457 /tools/lib/bpf/bpf_prog_linfo.c | |
parent | f0f0a5df4e081e7a659929303fe83450edce9a3e (diff) | |
download | linux-5da1918446a1d50d57f2f6062f7fdede0b052473.tar.xz |
selftests/run_kselftest.sh: Make each test individually selectable
Currently with run_kselftest.sh there is no way to choose which test
we could run. All the tests listed in kselftest-list.txt are all run
every time. This patch enhanced the run_kselftest.sh to make the test
collections (or tests) individually selectable. e.g.:
$ ./run_kselftest.sh -c seccomp -t timers:posix_timers -t timers:nanosleep
Additionally adds a way to list all known tests with "-l", usage
with "-h", and perform a dry run without running tests with "-n".
Co-developed-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions