kselftest/arm64: Fix test numbering when skipping tests
authorMark Brown <broonie@kernel.org>
Tue, 10 Jan 2023 20:49:58 +0000 (20:49 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 12 Jan 2023 17:10:01 +0000 (17:10 +0000)
commit30792e7c18b659599d9b67922d60d76eee1a0e5d
tree270a06e43058df05282855e77e036d7f3ec5d95f
parent67f49869106f78882a8a09b736d4884be85aba18
kselftest/arm64: Fix test numbering when skipping tests

Currently when skipping tests in the BTI testsuite we assign the same
number to every test since we forget to increment the current test number
as we skip, causing warnings about not running the expected test count and
potentially otherwise confusing result parsers. Fix this by adding an
appropriate increment.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230110-arm64-bti-selftest-skip-v1-1-143ecdc84567@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/bti/test.c