]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb29539218c19e8f1b00f2857f5d7f3663599c039
tree0404b7f983292d7a29ecbc035fa4dfe256bbfc79
parenta045a3b64612edf2c649118244936a02adb97fc4
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