summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-07-18 03:28:46 +0300
committerMark Brown <broonie@kernel.org>2023-07-18 17:19:03 +0300
commitb7dc237ef8b0897f5750a738d2c57469909a6a15 (patch)
tree3e6607d0e5d9d635c8aafe9fd0b6132084f7e376 /tools
parent5aaa4024e14f8b878a348338a74b4c97bc2478b1 (diff)
downloadlinux-b7dc237ef8b0897f5750a738d2c57469909a6a15.tar.xz
ASoC: topology: Add explicit build option
The default KUnit build options are not supposed to enable any subsystems that were not already enabled but the topology code is a library which is generally selected by drivers that want to use it. Since KUnit is frequently run in virtual environments with minimal driver support this makes it difficult to enable the toplogy tests so provide an explicit Kconfig option which can be directly enabled when using KUnit, and also include this in the KUnit all_tests.config. Reviewed-by: David Gow <davidgow@google.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20230718-asoc-topology-kunit-enable-v2-5-0ee11e662b92@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/kunit/configs/all_tests.config1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/kunit/configs/all_tests.config b/tools/testing/kunit/configs/all_tests.config
index 13d15bc693fb..b8adb59455ef 100644
--- a/tools/testing/kunit/configs/all_tests.config
+++ b/tools/testing/kunit/configs/all_tests.config
@@ -39,3 +39,4 @@ CONFIG_SECURITY_APPARMOR=y
CONFIG_SOUND=y
CONFIG_SND=y
CONFIG_SND_SOC=y
+CONFIG_SND_SOC_TOPOLOGY_BUILD=y