summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2025-01-08 20:12:55 -0500
committerMeco Man <[email protected]>2025-01-09 17:45:15 -0500
commitbdd9447d709213b5076a152fbfa484fbb0f7ee19 (patch)
tree5318dd2d9bef455658293866300b6c5266f28061 /src
parent53bd56ccf9cb77dd1cec3c3c9e1fde24b0a95267 (diff)
[utest] make RT_USING_CI_ACTION to be clear
RT_USING_CI_ACTION will select RT_UTEST_USING_AUTO_RUN and RT_UTEST_USING_ALL_CASES
Diffstat (limited to 'src')
-rw-r--r--src/Kconfig2
-rw-r--r--src/klibc/utest/SConscript2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/Kconfig b/src/Kconfig
index d4cad60d95..75c59ad651 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -244,6 +244,8 @@ menuconfig RT_USING_DEBUG
config RT_USING_CI_ACTION
bool "Enable CI Action build mode"
select RT_USING_UTEST
+ select RT_UTEST_USING_AUTO_RUN
+ select RT_UTEST_USING_ALL_CASES
default n
help
Identify that the environment is CI Action.
diff --git a/src/klibc/utest/SConscript b/src/klibc/utest/SConscript
index 43ec5e97a5..a9acd1b3c6 100644
--- a/src/klibc/utest/SConscript
+++ b/src/klibc/utest/SConscript
@@ -2,7 +2,7 @@ from building import *
src = []
-if GetDepend('RT_USING_CI_ACTION') or GetDepend('RT_UTEST_TC_USING_KLIBC'):
+if GetDepend('RT_UTEST_USING_ALL_CASES') or GetDepend('RT_UTEST_TC_USING_KLIBC'):
src += Glob('TC_*.c')
group = DefineGroup('utestcases', src, depend = [''])