Skip to content

Commit 84bad87

Browse files
committed
utest: integrate config option for utest of audio driver
Signed-off-by: Chen Wang <[email protected]>
1 parent 1fe86a9 commit 84bad87

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

components/drivers/audio/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,4 @@ config RT_USING_AUDIO
1515
int "Record pipe size"
1616
default 2048
1717

18-
config RT_UTEST_USING_AUDIO_DRIVER
19-
bool "Enable rt_audio_api testcase"
20-
default n
2118
endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
if RT_USING_AUDIO
2+
config RT_UTEST_USING_AUDIO_DRIVER
3+
bool "Enable rt_audio_api testcase"
4+
default n
5+
endif

components/utilities/utest/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ rsource "$RTT_DIR/examples/utest/testcases/perf/Kconfig"
2121

2222
rsource "$RTT_DIR/src/klibc/utest/Kconfig"
2323

24+
rsource "$RTT_DIR/components/drivers/audio/utest/Kconfig"
25+
2426
endif
2527

2628
endmenu

0 commit comments

Comments
 (0)