mirror-linux/tools/testing/selftests/alsa
Mark Brown 38bd221a9c kselftest/alsa - pcm-test: Don't include diagnostic message in test name
When reporting errors or skips we currently include the diagnostic message
indicating why we're failing or skipping. This isn't ideal since KTAP
defines the entire print as the test name, so if there's an error then test
systems won't detect the test as being the same one as a passing test. Move
the diagnostic to a separate ksft_print_msg() to avoid this issue, the test
name part will always be the same for passes, fails and skips and the
diagnostic information is still displayed.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230323-alsa-pcm-test-names-v1-1-8be67a8885ff@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-03-24 07:49:57 +01:00
..
conf.d kselftest/alsa: pcm - move more configuration to configuration files 2023-01-02 15:07:35 +01:00
.gitignore kselftest/alsa: Add a .gitignore for the newly added PCM test 2022-11-25 16:50:52 +01:00
Makefile kselftest/alsa: Run PCM tests for multiple cards in parallel 2023-02-04 09:36:35 +01:00
alsa-local.h kselftest/alsa: pcm - move more configuration to configuration files 2023-01-02 15:07:35 +01:00
conf.c kselftest/alsa: pcm - move more configuration to configuration files 2023-01-02 15:07:35 +01:00
mixer-test.c kselftest/alsa - mixer-test: Log values associated with event issues 2023-03-24 07:49:47 +01:00
pcm-test.c kselftest/alsa - pcm-test: Don't include diagnostic message in test name 2023-03-24 07:49:57 +01:00
pcm-test.conf kselftest/alsa: pcm - Add more coverage by default 2023-01-02 15:08:24 +01:00