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)
commit837387a2cbc719667822856beabac127921a36c4
treecbdebd0ba4f4e8ee7e70f9685b72844e3a3f889d
parentc2820987047c08d813396b2b1d8ac2894ba0bd5f
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