]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: topology: KUnit: Add KUnit tests passing empty topology with variants to snd_so...
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Wed, 20 Jan 2021 15:28:45 +0000 (16:28 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 21 Jan 2021 12:36:25 +0000 (12:36 +0000)
commite88f811ecda97a7d9c6a51d128bef7c569879dbc
tree8d53d3bdd804f2768cc8b07dd098cfabf8c413a2
parent2f5880a7fd1c11fd3355912ebf36480a739934f2
ASoC: topology: KUnit: Add KUnit tests passing empty topology with variants to snd_soc_tplg_component_load

In order to ensure correct behaviour of topology API, add unit tests
exercising topology functionality.

Add "empty" topology template and tests for parsing it. Also adds few
variants with bad magic numbers.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Tested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210120152846.1703655-5-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology-test.c