kselftest/arm64: signal: Allow tests to be incompatible with features
authorMark Brown <broonie@kernel.org>
Mon, 7 Feb 2022 15:20:34 +0000 (15:20 +0000)
committerWill Deacon <will@kernel.org>
Fri, 25 Feb 2022 14:38:29 +0000 (14:38 +0000)
commit32de73e89099c3f243032a733d3a64d417327a70
tree0404b7f983292d7a29ecbc035fa4dfe256bbfc79
parent0a775ccb81207413d07214ac6eaed75d0e4376b1
kselftest/arm64: signal: Allow tests to be incompatible with features

Some features may invalidate some tests, for example by supporting an
operation which would trap otherwise. Allow tests to list features that
they are incompatible with so we can cover the case where a signal will
be generated without disruption on systems where that won't happen.

Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20220207152109.197566-6-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
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