kselftest/alsa: pcm - Always run the default set of tests
authorMark Brown <broonie@kernel.org>
Tue, 27 Dec 2022 17:06:48 +0000 (17:06 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Jan 2023 14:07:49 +0000 (15:07 +0100)
commit7769f1abecf501902cf96e871739da7f97424a43
tree5ae75b2fc61e6d50b53e2a11fbfaa70544d42fa2
parent348d09fcd1b6ba455141882daf1d50ff33cd0bf8
kselftest/alsa: pcm - Always run the default set of tests

Rather than allowing the system specific tests to replace the default set
of tests instead run them in addition to the standard set of tests. In
order to avoid name collisions in the reported tests we add an additional
test class element to the reported tests. Doing this means we always get a
consistent baseline of coverage no matter what card we run on but retain
the ability to specify specific coverage for a given system.

Reviewed-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-3-5a152e65b1e1@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
tools/testing/selftests/alsa/pcm-test.c