summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/drivers/audio/utest/SConscript2
-rw-r--r--components/net/utest/SConscript2
-rw-r--r--components/utilities/Kconfig7
-rw-r--r--components/utilities/utest/utest/SConscript2
4 files changed, 3 insertions, 10 deletions
diff --git a/components/drivers/audio/utest/SConscript b/components/drivers/audio/utest/SConscript
index 4a535be5c3..f8b5639bb6 100644
--- a/components/drivers/audio/utest/SConscript
+++ b/components/drivers/audio/utest/SConscript
@@ -5,7 +5,7 @@ cwd = GetCurrentDir()
src = []
CPPPATH = [cwd]
-if GetDepend('RT_UTEST_USING_ALL_CASES') or GetDepend('RT_UTEST_USING_AUDIO_DRIVER'):
+if GetDepend('RT_UTEST_USING_AUDIO_DRIVER'):
src += Glob('tc_*.c')
group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES', 'RT_USING_AUDIO'], CPPPATH = CPPPATH)
diff --git a/components/net/utest/SConscript b/components/net/utest/SConscript
index 010ccb4e5f..4c9190fa40 100644
--- a/components/net/utest/SConscript
+++ b/components/net/utest/SConscript
@@ -5,7 +5,7 @@ cwd = GetCurrentDir()
src = []
CPPPATH = [cwd]
-if GetDepend('RT_UTEST_USING_ALL_CASES') or GetDepend('RT_UTEST_TC_USING_LWIP') or GetDepend('RT_UTEST_TC_USING_NETDEV'):
+if GetDepend('RT_UTEST_TC_USING_LWIP') or GetDepend('RT_UTEST_TC_USING_NETDEV'):
if GetDepend('RT_UTEST_TC_USING_LWIP'):
# Add lwIP test source if enabled
diff --git a/components/utilities/Kconfig b/components/utilities/Kconfig
index b5eff9bee4..8601eb1e51 100644
--- a/components/utilities/Kconfig
+++ b/components/utilities/Kconfig
@@ -216,13 +216,6 @@ config RT_USING_UTEST
default n
help
If enable this option, the test cases will be run automatically when board boot up.
-
- config RT_UTEST_USING_ALL_CASES
- bool "Enable all selected modules' test cases"
- default n
- help
- If enable this option, all selected modules' test cases will be run.
- Otherwise, only the test cases that are explicitly enabled will be run.
endif
config RT_USING_VAR_EXPORT
diff --git a/components/utilities/utest/utest/SConscript b/components/utilities/utest/utest/SConscript
index 6437618551..ec1e214de6 100644
--- a/components/utilities/utest/utest/SConscript
+++ b/components/utilities/utest/utest/SConscript
@@ -2,7 +2,7 @@ from building import *
src = []
-if GetDepend('RT_UTEST_USING_ALL_CASES') or GetDepend('UTEST_SELF_PASS_TC'):
+if GetDepend('UTEST_SELF_PASS_TC'):
src += Glob('TC_*.c')
group = DefineGroup('utc_UTest', src, depend = [''])