Skip to content

Commit 008b7a9

Browse files
txy-21xiaoxiang781216
authored andcommitted
testing: specify arch format Kconfig
Signed-off-by: tengshuangshuang <[email protected]>
1 parent c7fe13d commit 008b7a9

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

testing/arch_libc/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if TESTING_ARCH_LIBC
1414

1515
config TESTING_ARCH_LIBC_STRCPY
1616
bool "test strcpy"
17-
default n
17+
default y
1818

1919
config TESTING_ARCH_LIBC_PROGNAME
2020
string "Program name"

testing/opus_ramtest/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
config TESTING_OPUS_RAMTEST
77
tristate "opus decode ram test"
8-
depends on LIB_OPUS && CODECS_HASH_MD5
8+
depends on LIB_OPUS && CODECS_HASH_MD5 && NETUTILS_CODECS && LIB_OPUS_DEMO
99
default n
1010

1111
if TESTING_OPUS_RAMTEST

testing/testsuites/Kconfig

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ config TESTS_TESTSUITES
1212

1313
if TESTS_TESTSUITES
1414

15+
menu "Testsuite cases"
16+
1517
config TESTS_TESTSUITES_MOUNT_DIR
1618
string "Mount directory for the testsuites"
1719
default "/data"
@@ -27,47 +29,43 @@ config TESTS_TESTSUITES_STACKSIZE
2729
config CM_FS_TEST
2830
bool "enable fs test"
2931
default n
30-
depends on TESTS_TESTSUITES
32+
depends on PSEUDOFS_SOFTLINKS
3133

3234
config CM_SCHED_TEST
3335
bool "enbale schedule test"
3436
default n
35-
depends on TESTS_TESTSUITES
3637

3738
config CM_SYSCALL_TEST
3839
bool "enbale syscall test"
3940
default n
40-
depends on TESTS_TESTSUITES
41+
depends on PIPES && SCHED_HAVE_PARENT
4142

4243
config CM_MM_TEST
4344
bool "enbale MM test"
4445
default n
45-
depends on TESTS_TESTSUITES
4646

4747
config CM_KVDB_TEST
4848
bool "enbale kvdb test"
4949
default n
50-
depends on TESTS_TESTSUITES
50+
depends on KVDB
5151

5252
config CM_TIME_TEST
5353
bool "enbale time test"
5454
default n
55-
depends on TESTS_TESTSUITES
55+
depends on SIG_EVTHREAD
5656

5757
config CM_SOCKET_TEST
5858
bool "enbale socket test"
5959
default n
60-
depends on TESTS_TESTSUITES
60+
depends on NET && NETDEV_LATEINIT
6161

6262
config CM_PTHREAD_TEST
6363
bool "enbale pthread test"
6464
default n
65-
depends on TESTS_TESTSUITES
6665

6766
config CM_MUTEX_TEST
6867
bool "enbale mutex test"
6968
default n
70-
depends on TESTS_TESTSUITES
7169

7270
config TEST_TELEPHONY
7371
bool "enbale telephony test"
@@ -83,6 +81,7 @@ endif
8381
config CM_DFX_TEST
8482
bool "enbale dfx test"
8583
default n
86-
depends on TESTS_TESTSUITES
84+
depends on NETUTILS_CJSON && DFX && DFX_EVENT
8785

86+
endmenu
8887
endif # TESTS_TESTSUITES

0 commit comments

Comments
 (0)