linux/tools/testing/selftests/arm64/mte
Andre Przywara bf52ca5912 kselftest/arm64: mte: use proper SKIP syntax
If MTE is not available on a system, we detect this early and skip all
the MTE selftests. However this happens before we print the TAP plan, so
tools parsing the TAP output get confused and report an error.

Use the existing ksft_exit_skip() function to handle this, which uses a
dummy plan to work with tools expecting proper TAP syntax, as described
in the TAP specification.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20240816153251.2833702-4-andre.przywara@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2024-10-17 18:51:50 +01:00
..
.gitignore kselftest/arm64: Add simple test for MTE prctl 2022-04-28 17:57:11 +01:00
check_buffer_fill.c kselftest/arm64: fix array_size.cocci warning 2022-11-08 16:05:31 +00:00
check_child_memory.c kselftest/arm64: fix array_size.cocci warning 2022-04-28 17:57:13 +01:00
check_gcr_el1_cswitch.c kselftest/arm64: Remove local definitions of MTE prctls 2022-02-15 15:59:20 +00:00
check_ksm_options.c kselftest/arm64: mte: ksm_options: Fix fscanf warning 2021-03-23 16:36:30 +00:00
check_mmap_options.c kselftest/arm64: fix array_size.cocci warning 2022-11-14 14:43:49 +00:00
check_prctl.c kselftest/arm64: Add simple test for MTE prctl 2022-04-28 17:57:11 +01:00
check_tags_inclusion.c selftests/arm64: Remove casts to/from void in check_tags_inclusion 2022-05-15 11:07:54 +01:00
check_user_mem.c kselftest/arm64: mte: user_mem: test a wider range of values 2022-02-15 16:57:51 +00:00
Makefile kselftest/arm64: Remove spurious comment from MTE test Makefile 2023-01-20 14:30:46 +00:00
mte_common_util.c kselftest/arm64: mte: use proper SKIP syntax 2024-10-17 18:51:50 +01:00
mte_common_util.h kselftest/arm64: Handle more kselftest result codes in MTE helpers 2022-04-28 17:57:10 +01:00
mte_def.h kselftest/arm64: Add utilities and a test to validate mte memory 2020-10-05 18:52:17 +01:00
mte_helper.S kselftest/arm64: Don't enable v8.5 for MTE selftest builds 2022-09-29 17:34:40 +01:00