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