diff options
author | Kees Cook <keescook@chromium.org> | 2020-09-28 13:26:49 -0700 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-10-07 07:59:15 -0600 |
commit | 5da1918446a1d50d57f2f6062f7fdede0b052473 (patch) | |
tree | 1eee530b5d54455c9a939f042831d84a3856c457 /Documentation/dev-tools | |
parent | selftests: Extract run_kselftest.sh and generate stand-alone test list (diff) | |
download | linux-5da1918446a1d50d57f2f6062f7fdede0b052473.tar.gz linux-5da1918446a1d50d57f2f6062f7fdede0b052473.tar.bz2 linux-5da1918446a1d50d57f2f6062f7fdede0b052473.zip |
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 'Documentation/dev-tools')
0 files changed, 0 insertions, 0 deletions