add drivertest test cases on sim for CI
Signed-off-by: vela-mib <vela-mib@xiaomi.com>
This commit is contained in:
parent
24df2cc177
commit
9a4afbcb62
|
@ -95,17 +95,26 @@ CONFIG_NET_LOCAL=y
|
|||
CONFIG_NET_USRSOCK=y
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_DISABLE_DATE=y
|
||||
CONFIG_NSH_DISABLE_TIMEDATECTL=y
|
||||
CONFIG_NSH_MOTD=y
|
||||
CONFIG_NSH_MOTD_STRING="MOTD: username=admin password=Administrator"
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PATH_INITIAL="/bin"
|
||||
CONFIG_PM=y
|
||||
CONFIG_PM_RUNTIME=y
|
||||
CONFIG_PSEUDOFS_ATTRIBUTES=y
|
||||
CONFIG_PSEUDOFS_SOFTLINKS=y
|
||||
CONFIG_PTHREAD_CLEANUP_STACKSIZE=4
|
||||
CONFIG_PTHREAD_SPINLOCKS=y
|
||||
CONFIG_PTHREAD_STACK_MIN=2048
|
||||
CONFIG_READLINE_TABCOMPLETION=y
|
||||
CONFIG_REGULATOR=y
|
||||
CONFIG_RR_INTERVAL=10
|
||||
CONFIG_RTC=y
|
||||
CONFIG_RTC_ARCH=y
|
||||
CONFIG_RTC_DATETIME=y
|
||||
CONFIG_RTC_DRIVER=y
|
||||
CONFIG_SCHED_BACKTRACE=y
|
||||
CONFIG_SCHED_CHILD_STATUS=y
|
||||
CONFIG_SCHED_HAVE_PARENT=y
|
||||
|
@ -123,6 +132,8 @@ CONFIG_SYSTEM_NSH=y
|
|||
CONFIG_SYSTEM_POPEN=y
|
||||
CONFIG_TESTING_CMOCKA=y
|
||||
CONFIG_TESTING_CXXTEST=y
|
||||
CONFIG_TESTING_DRIVER_TEST=y
|
||||
CONFIG_TESTING_DRIVER_TEST_SIMPLE=y
|
||||
CONFIG_TESTING_FMEMOPEN_TEST=y
|
||||
CONFIG_TESTING_FOPENCOOKIE_TEST=y
|
||||
CONFIG_TESTING_FSTEST=y
|
||||
|
|
|
@ -27,7 +27,8 @@ def test_cmocka(p):
|
|||
|
||||
p.sendCommand(f"echo {cmocka_test_start}")
|
||||
ret = p.sendCommand(
|
||||
"cmocka --skip test_playback.*|test_interaction.*|test_stress.*|test_capture.*",
|
||||
"cmocka --skip test_case_posix_timer|test_case_oneshot|write_default|read_default|burst_test|gpiotest01|"
|
||||
"test_playback.*|test_interaction.*|test_stress.*|test_capture.*",
|
||||
"Cmocka Test Completed",
|
||||
timeout=1200,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue