]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: Add test plan API to kselftest.h and adjust callers
authorKees Cook <keescook@chromium.org>
Wed, 24 Apr 2019 23:12:37 +0000 (16:12 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 25 Apr 2019 19:15:46 +0000 (13:15 -0600)
commit12b71fe640499b9d8f5c9ec015fd45258de83073
tree37b040c435d57a2e3485d297c42eb877cda6d7a7
parent7e565b4793153a0b023a634140d641a34324b134
selftests: Add test plan API to kselftest.h and adjust callers

The test plan for TAP needs to be declared immediately after the header.
This adds the test plan API to kselftest.h and updates all callers to
declare their expected test counts.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
16 files changed:
tools/testing/selftests/breakpoints/breakpoint_test.c
tools/testing/selftests/breakpoints/breakpoint_test_arm64.c
tools/testing/selftests/breakpoints/step_after_suspend_test.c
tools/testing/selftests/capabilities/test_execve.c
tools/testing/selftests/futex/functional/futex_requeue_pi.c
tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c
tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c
tools/testing/selftests/futex/functional/futex_wait_private_mapped_file.c
tools/testing/selftests/futex/functional/futex_wait_timeout.c
tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap.c
tools/testing/selftests/futex/functional/futex_wait_wouldblock.c
tools/testing/selftests/kselftest.h
tools/testing/selftests/membarrier/membarrier_test.c
tools/testing/selftests/pidfd/pidfd_test.c
tools/testing/selftests/sigaltstack/sas.c
tools/testing/selftests/sync/sync_test.c