]> 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)
commitbeebb483a9207b8fc5c8ac612904afda25061469
treecbdebd0ba4f4e8ee7e70f9685b72844e3a3f889d
parent9aa5d5e5a246ac732917cf2e52cc36cd087854e5
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