]> git.baikalelectronics.ru Git - kernel.git/commit
kselftest: arm64: extend test_init functionalities
authorCristian Marussi <cristian.marussi@arm.com>
Fri, 25 Oct 2019 17:57:10 +0000 (18:57 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 8 Nov 2019 11:10:39 +0000 (11:10 +0000)
commit34af28d797b0e3e013a4a0149cc9323c5bd968d3
treecbdebd0ba4f4e8ee7e70f9685b72844e3a3f889d
parent35fca1e5890f1ab690e1a82a0e16acaa7492a8a9
kselftest: arm64: extend test_init functionalities

Extend signal testing framework to allow the definition of a custom per
test initialization function to be run at the end of the common test_init
after test setup phase has completed and before test-run routine.

This custom per-test initialization function also enables the test writer
to decide on its own when forcibly skip the test itself using standard KSFT
mechanism.

Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/signal/test_signals.c
tools/testing/selftests/arm64/signal/test_signals.h
tools/testing/selftests/arm64/signal/test_signals_utils.c
tools/testing/selftests/arm64/signal/test_signals_utils.h