From 0fdeb4c077cbae07453dc2de9a57f9d5cf6fc2c5 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Thu, 24 Jul 2025 16:53:56 +0800 Subject: [PATCH] utest: integrate config option for utest of audio driver Signed-off-by: Chen Wang --- Kconfig.utestcases | 2 ++ components/drivers/audio/Kconfig | 3 --- components/drivers/audio/utest/Kconfig | 5 +++++ 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 components/drivers/audio/utest/Kconfig diff --git a/Kconfig.utestcases b/Kconfig.utestcases index e1d4dbe9e1..e851ad3959 100644 --- a/Kconfig.utestcases +++ b/Kconfig.utestcases @@ -21,6 +21,8 @@ rsource "examples/utest/testcases/perf/Kconfig" rsource "src/klibc/utest/Kconfig" +rsource "components/drivers/audio/utest/Kconfig" + endif endmenu diff --git a/components/drivers/audio/Kconfig b/components/drivers/audio/Kconfig index f6cae1ae6c..48770ac0f0 100644 --- a/components/drivers/audio/Kconfig +++ b/components/drivers/audio/Kconfig @@ -15,7 +15,4 @@ config RT_USING_AUDIO int "Record pipe size" default 2048 - config RT_UTEST_USING_AUDIO_DRIVER - bool "Enable rt_audio_api testcase" - default n endif diff --git a/components/drivers/audio/utest/Kconfig b/components/drivers/audio/utest/Kconfig new file mode 100644 index 0000000000..2ee22aef92 --- /dev/null +++ b/components/drivers/audio/utest/Kconfig @@ -0,0 +1,5 @@ +if RT_USING_AUDIO + config RT_UTEST_USING_AUDIO_DRIVER + bool "Enable rt_audio_api testcase" + default n +endif \ No newline at end of file