Re: [PATCH] kselftest/alsa: pcm-test: Report cards declared in config but missing

From: Jaroslav Kysela
Date: Tue Sep 19 2023 - 12:55:28 EST


On 19. 09. 23 17:26, Nícolas F. R. A. Prado wrote:
When parsing the configs, keep track of card configurations that match
the current system but haven't matched any card, and report those as
test failures as they represent that a card which was expected to be
present on the system is missing. This allows the configuration files to
not only be used to detect missing PCM devices (which is currently
possible) but also that the soundcard hasn't been registered at all.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>

Thanks,

Reviewed-by: Jaroslav Kysela <perex@xxxxxxxx>

--
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.