]> git.baikalelectronics.ru Git - kernel.git/commit
kselftest/arm64: signal: Skip tests if required features are missing
authorCristian Marussi <cristian.marussi@arm.com>
Mon, 20 Sep 2021 12:12:28 +0000 (13:12 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 21 Sep 2021 17:12:03 +0000 (18:12 +0100)
commit096f35b975c7bb62517c503123ffd9e1cd17c74f
treeefd8e86acb4e531ac740a98d72f2352ff8466299
parentcc895489d115f67c183d538ac5b45337acbfbc62
kselftest/arm64: signal: Skip tests if required features are missing

During initialization of a signal testcase, features declared as required
are properly checked against the running system but no action is then taken
to effectively skip such a testcase.

Fix core signals test logic to abort initialization and report such a
testcase as skipped to the KSelfTest framework.

Fixes: 973be35611c3 ("kselftest: arm64: mangle_pstate_invalid_compat_toggle and common utils")
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210920121228.35368-1-cristian.marussi@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/signal/test_signals_utils.c