linux/tools/testing/selftests/alsa
Jaroslav Kysela 348d09fcd1 kselftest/alsa: pcm - move more configuration to configuration files
Obtain all test parameters from the configuration files. The defaults
are defined in the pcm-test.conf file. The test count and parameters
may be variable per specific hardware.

Also, handle alt_formats field now (with the fixes in the format loop).
It replaces the original "automatic" logic which is not so universal.

The code may be further extended to skip various tests based
on the configuration hints, if the exact PCM hardware parameters
are not available for the given hardware.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221208-alsa-pcm-test-hacks-v4-2-5a152e65b1e1@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-01-02 15:07:35 +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
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
Makefile kselftest/alsa: pcm - move more configuration to configuration files 2023-01-02 15:07:35 +01:00
mixer-test.c selftests: alsa - move shared library configuration code to conf.c 2022-11-29 15:05:18 +01:00
pcm-test.c kselftest/alsa: pcm - move more configuration to configuration files 2023-01-02 15:07:35 +01:00
pcm-test.conf kselftest/alsa: pcm - move more configuration to configuration files 2023-01-02 15:07:35 +01:00