640 Commits

Author SHA1 Message Date
Xiang Xiao
85a6aaa322 apps/testing: Move irtest/sensortest/resmonitor/monkey to apps/system
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2025-01-27 02:25:08 +01:00
Xiang Xiao
4e9d907677 testing: Move rpmsgdev to drivers/rpmsgdev
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2025-01-26 09:53:02 -03:00
Xiang Xiao
d7be1bd672 testing: Move fs/fopencookie to libc
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2025-01-26 09:53:02 -03:00
Xiang Xiao
b7f05e89ba testing: Move crypto/setest to drivers and open_memstream to libc
follow the dissusion from:
https://github.com/apache/nuttx-apps/pull/2931

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2025-01-26 07:32:53 +01:00
tengshuangshuang
0406e6734a apps/testing:move atomic,cpuload,getprime,smp and timerjitter folders to the new sched folder
Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
2025-01-26 00:23:15 +08:00
tengshuangshuang
077c3461db apps/testing:merge case folder to the new mm folder
1.rename original  mm folder to heaptest and move it to mm folder

2.move the following folders into the new mm folder:
  cachetest, heaptest, iob, kasantest, memstress, memtester, ramtest, stressapptest

Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
2025-01-23 18:19:06 +08:00
tengshuangshuang
57c8a62e1e apps/testing:move arch_libc, fmemopen, scanftest folders to the new lib folder
Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
2025-01-22 17:18:30 +08:00
tengshuangshuang
8141e35f99 apps/testing:move epoll, fatutf8 ... folders to the new fs folder
Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
2025-01-22 01:34:00 +08:00
tengshuangshuang
6bc2b3c933 apps/testing:move {drivertest fftest irtest monkey nand_sim pcitest sd_bench sd_stress sensortest} folders to the new driver folder
Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
2025-01-21 16:22:56 +08:00
tengshuangshuang
903fbe41e9 apps/testing: move cxxsize,cxxtest and uclibcxx_test folders to the new cxx folder
Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
2025-01-20 21:15:21 +08:00
tengshuangshuang
bdb0fcd71b apps/testing: move himem_test,mtetest and x86-64-ABI folders to the new arhc folder
Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
2025-01-20 17:48:48 +08:00
zhangshoukui
f8e4afbad3 optimize GPIO test for sim test pass
cmocka_driver_gpio //gpio input/output is tested by default
cmocka_driver_gpio -a /dev/gpio0 -b /dev/gpio1 -l // test loop
cmocka_driver_gpio -a /dev/gpio0 -b /dev/gpio0 // gpio input/output is tested by default

Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
2025-01-16 22:44:14 +08:00
zhangshoukui
b4def306fa Remove Useless filtering.The string for filtering rules should not point to a stack space
==1805058==ERROR: AddressSanitizer: heap-use-after-free on address 0xe18126a0 at pc 0x52b06320 bp 0xd7b13ee8 sp 0xd7b13ed8
READ of size 1 at 0xe18126a0 thread T0
    #0 0x52b0631f in tre_parse regex/regcomp.c:1356
    #1 0x52b2b1d0 in regcomp regex/regcomp.c:3710
    #2 0x48f55435 in c_regexmatch cmocka/src/cmocka.c:494
    #3 0x48f65bcf in _cmocka_run_group_tests cmocka/src/cmocka.c:3252
    #4 0x48f67e2d in cmocka_fs_test_main apps/testing/testsuites/kernel/fs/cmocka_fs_test.c:201
    #5 0x46210b2a in nxtask_startup sched/task_startup.c:72
    #6 0x45ff40fb in nxtask_start task/task_start.c:116
    #7 0x462695bb in pre_start sim/sim_initialstate.c:52

Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
2025-01-16 22:44:14 +08:00
tengshuangshuang
4432d84dd3 test:driver_audio bug fix
Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
2025-01-16 22:44:14 +08:00
Zhe Weng
2df2534898 testing/nettest: Add test for net bufpool
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2025-01-14 14:39:44 +08:00
zhangshuai39
a6b9e71846 testing/nettest: Add utils directory and two tcp testcases to the testing framework
Based on the original directory structure, an additional utils directory is added. It store public functions which used by multiple testcases, such as the tcp server-related functions added this time. In addition, two testcases for testing tcp connections have been added.

Signed-off-by: zhangshuai39 <zhangshuai39@xiaomi.com>
2025-01-12 01:24:12 +08:00
Huang Qi
ffd256d32b Remove unused header files across multiple source files
Clean up code by removing redundant and unused header file includes that were identified through static analysis.
This improves code readability and reduces unnecessary dependencies.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-01-10 21:42:00 +08:00
wangmingrong1
a5a93c0a17 stressapptest: Add download step
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2025-01-10 21:14:04 +08:00
zhangshuai39
f2b0437688 apps/testing: Add a cmocka framework for network testing
Provides a network automated testing framework, including the main directory structure and Makefile, CMakeLists, Kconfig and other files such as tcp.

Signed-off-by: zhangshuai39 <zhangshuai39@xiaomi.com>
2025-01-09 22:40:36 +08:00
jialuxiao
b73adbe56b testing/monkey: add running-minutes parameter
Signed-off-by: jialuxiao <jialuxiao@xiaomi.com>
2025-01-07 15:29:52 +08:00
wangmingrong1
edf44c881b mtetest: add thread to control mte test separately
After thread A holds the semaphore, it first accesses it safely. After releasing it, thread B closes MTE for unsafe access. After accessing, it switches back to thread A for unsafe access. At this time, an error should be reported.
log:
Process 1 holding lock
Process 2 holding lock
Process 1 holding lock again
default_fatal_handler: (IFSC/DFSC) for Data/Instruction aborts: synchronous tag check fault
arm64_exception_handler: CurrentEL: MODE_EL1
arm64_exception_handler: ESR_ELn: 0x96000011
arm64_exception_handler: FAR_ELn: 0xf00000040441700
arm64_exception_handler: ELR_ELn: 0x402ee5f4
print_ec_cause: DABT (current EL)
print_ec_cause: Data Abort taken without a change in Exception level

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2025-01-07 14:25:44 +08:00
wangjianyu3
c29a75bbfb testing/rpmsgdev: Replace space with tab for Kconfig
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2025-01-06 18:22:06 +08:00
zhangshoukui
2cfbdbb401 driver test: add depends on
Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
2025-01-03 21:28:20 +08:00
wangjianyu3
366865723b testing/rpmsgdev: Add option for rpmsgdev_export()
And fix errors for other platform

Test

  Server (NuttX)

    testdev -d 0 -r "/dev/testrpmsgdev"
    testdev -d 2 -c "CLIENT" -l "/dev/testrpmsgdev"

  Client (Other)

    testdev -l /dev/testrpmsgdev -t 1
    testdev -l /dev/testrpmsgdev -t 2
    testdev -l /dev/testrpmsgdev -t 3
    testdev -l /dev/testrpmsgdev -t 5
    testdev -l /dev/testrpmsgdev -t 6
    testdev -l /dev/testrpmsgdev -t 7
    testdev -l /dev/testrpmsgdev -t 8

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2025-01-02 23:25:19 +08:00
wangjianyu3
047f881673 testing/rpmsgdev: Add from tests/testcases
Add makefile and format codes

  ../nuttx/tools/checkpatch.sh -f testdev.c

Squashed commits

  commit 2914f842fb7b30f9819f951638a72af7ccd0857e
  Author: v-chenglong8 <v-chenglong8@xiaomi.com>
  Date:   Tue Aug 27 20:26:40 2024 +0800

      [new]: init coral sea execution client project

      Signed-off-by: cuiliang <cuiliang@xiaomi.com>

  commit e783ef9d33e980a8d67f0732287545ee1dc9654d
  Author: rongyichang <rongyichang@xiaomi.com>
  Date:   Fri Jun 21 11:48:11 2024 +0800

      tests/devrpmsg: fix use after free error

      Signed-off-by: rongyichang <rongyichang@xiaomi.com>

  commit d2221fa82a9a30c99bcfc6cff46276505f653a77
  Author: songshuangshuang <songshuangshuang@xiaomi.com>
  Date:   Tue May 14 15:27:02 2024 +0800

      [tests]: test case cmake transformation

      Signed-off-by: songshuangshuang <songshuangshuang@xiaomi.com>

  commit 4209ce4a10e34fe37a58df5e2c2e8d1299ef056c
  Author: liugui <liugui@xiaomi.com>
  Date:   Wed Aug 16 20:35:41 2023 +0800

      [fix]:resolving the problem of rpmsgdev ioctrl interface test crashing on the audio core

      Signed-off-by: liugui <liugui@xiaomi.com>

  commit a3ac3c9b9dc5210ebc61897cf79e411ae337d70f
  Author: litong12 <litong12@xiaomi.com>
  Date:   Fri Jul 28 15:06:00 2023 +0800

      [fix]: fix poll's bug in rpmsgdev test

      Signed-off-by: litong12 <litong12@xiaomi.com>

  commit c3085e74b2c356bc805d904259e97126ea55ff7d
  Author: litong12 <litong12@xiaomi.com>
  Date:   Wed Jan 18 11:47:25 2023 +0800

      [test]: file_operations add mmap and truncate in rpmsgdev test

      Signed-off-by: litong12 <litong12@xiaomi.com>

  commit 617623f7c3eb302e2921de17d21235ea4c4e2990
  Author: litong12 <litong12@xiaomi.com>
  Date:   Tue Nov 8 20:13:29 2022 +0800

      [test]: add rpmsgdev testcases

      Signed-off-by: litong12 <litong12@xiaomi.com>

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2025-01-02 23:25:19 +08:00
Alin Jerpelea
068220d3a7 testing: migrate to SPDX identifier
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-12-30 18:02:50 +08:00
zhangshoukui
d581ccc7e2 fix tab error and remove Useless depends on
Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
2024-12-30 18:02:12 +08:00
zhangshoukui
54d73e4666 TESTING_NAND_SIM: Add depends on
apps/testing/nand_sim/nand_sim_main.c:172:(.text.nand_main+0x93): undefined reference to `nand_ram_initialize'
collect2: error: ld returned 1 exit status

Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
2024-12-26 23:32:49 +08:00
chenrun1
ee3400e78a scanftest:need enable CONFIG_LIBC_SCANSET
Summary:
"",
        instead of
"   ",
        to the first argument.

Test #29 returned 0 instead of 1.
Test #29 assigned
"",
        instead of
"  q",
        to the first argument.

Test #30 returned 0 instead of 2.
Test #30 assigned
"",
        instead of
"  ",
        to the first argument.

Test #30 assigned
"",
        instead of
"Q",
        to the second argument.

Test #31 returned 0 instead of 2.
Test #31 assigned
"",
        instead of
"qwerty-",
        to the first argument.

Test #31 assigned
"",
        instead of
"QWERTY-",
        to the second argument.

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-12-23 22:40:11 +08:00
chenrun1
42d6ae6d07 memorystress:fix build warning
Summary:
CC:  memorystress_main.c memorystress_main.c: In function ‘global_init’:
memorystress_main.c:39:26: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=]
   39 | #define MEMSTRESS_PREFIX "MemoryStress:"
      |                          ^~~~~~~~~~~~~~~
memorystress_main.c:442:22: note: in expansion of macro ‘MEMSTRESS_PREFIX’
  442 |     syslog(LOG_INFO, MEMSTRESS_PREFIX "\n max_allocsize: %zu\n"
      |                      ^~~~~~~~~~~~~~~~
memorystress_main.c:443:41: note: format string is defined here
  443 |            " nodelen: %zu\n sleep_us: %lu\n nthreads: %zu\n debug: %s\n",
      |                                       ~~^
      |                                         |
      |                                         long unsigned int
      |                                       %u

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-12-23 22:40:00 +08:00
chenrun1
876130b8e7 memorystress:Optimization of multithreaded scenario
Summary:
  1. In a multi-threaded scenario, each thread has its own context
  2. Adjust code structure

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-12-23 22:40:00 +08:00
chenrun1
196be15587 Adjust the default priority of some test cases
Summary:
 Avoid blocking other tasks when there is a large amount of data, such
as rpmsg, etc.
 1. change ramtest PRI to 90
 2. change memtester PRI to 90

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-12-23 22:37:31 +08:00
Alan Carvalho de Assis
9500938d44 testing/sensortest: Add support to Speed Sensors
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2024-12-20 08:52:42 +08:00
Xiang Xiao
adb4c3b555 testing/testsuites: Fix format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'size_t'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2024-12-19 04:22:09 +01:00
zhangshoukui
cebd77c614 fs cases: fix compile error
kernel/fs/cases/fs_stream_test.c:279:70: error: format ‘%zi’ expects argument of type ‘signed size_t’, but argument 4 has type ‘int’ [-Werror=format=]
  279 |           syslog(LOG_ERR, "len = %zi != return value from fwrite = %zi",
      |                                                                    ~~^
      |                                                                      |
      |                                                                      long int
      |                                                                    %i
  280 |                  len, ret);
      |                       ~~~
      |                       |
      |                       int
kernel/fs/cases/fs_stream_test.c:311:69: error: format ‘%zi’ expects argument of type ‘signed size_t’, but argument 4 has type ‘int’ [-Werror=format=]
  311 |           syslog(LOG_ERR, "len = %zi != return value from fread = %zi",
      |                                                                   ~~^
      |                                                                     |
      |                                                                     long int
      |                                                                   %i
  312 |                  len, ret);
      |                       ~~~
      |                       |
      |                       int

Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
2024-12-19 04:22:09 +01:00
Tiago Medicci
231827e84e ostest: Add test for GCC's tls (CONFIG_SCHED_THREAD_LOCAL)
Enables testing the GCC thread local storage (tls) and the __thread
keyword within ostest.
2024-12-18 22:46:04 +08:00
tengshuangshuang
1e199e4d4f test:add mutex socket syscall directory
some test cases have been added that cover the functionality of fs, mutex, pthread, socket, and syscall

Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
2024-12-18 17:43:33 +08:00
zhangshoukui
2e0b577680 drivertest_uart: The string was not truncated because one more character was read
#0 0x43c7443a in strnlen nuttx/libs/libc/string/lib_strnlen.c:42
    #1 0x43c698aa in vsprintf_internal nuttx/libs/libc/stdio/lib_libvsprintf.c:933
    #2 0x43c6ca80 in lib_vsprintf nuttx/libs/libc/stdio/lib_libvsprintf.c:1383
    #3 0x4409c0bd in vsnprintf nuttx/libs/libc/stdio/lib_vsnprintf.c:72
    #4 0x47137cd0 in vcmocka_print_error apps/testing/cmocka/cmocka/src/cmocka.c:2097
    #5 0x47139573 in cmocka_print_error apps/testing/cmocka/cmocka/src/cmocka.c:2422
    #6 0x471376ff in string_equal_display_error apps/testing/cmocka/cmocka/src/cmocka.c:1410
    #7 0x471379a0 in _assert_string_equal apps/testing/cmocka/cmocka/src/cmocka.c:1952
    #8 0x4433d972 in read_default apps/testing/drivertest/drivertest_uart.c:242
    #9 0x4713c6cd in cmocka_run_one_test_or_fixture apps/testing/cmocka/cmocka/src/cmocka.c:3029
    #10 0x4713d487 in cmocka_run_one_tests apps/testing/cmocka/cmocka/src/cmocka.c:3143
    #11 0x4713f2ca in _cmocka_run_group_tests apps/testing/cmocka/cmocka/src/cmocka.c:3294
    #12 0x443444c6 in cmocka_driver_uart_main apps/testing/drivertest/drivertest_uart.c:358
    #13 0x4409a472 in nxtask_startup nuttx/libs/libc/sched/task_startup.c:72
    #14 0x43dc92e7 in nxtask_start nuttx/sched/task/task_start.c:116
    #15 0x43e31f00 in pre_start nuttx/arch/sim/src/sim/sim_initialstate.c:52

Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
2024-12-17 16:06:13 +08:00
Lup Yuen Lee
9c5568c2af testing/ltp: Increase Stack Size
Inside CI Build risc-v-05: `rv-virt:citest` fails with a Stack Overflow at ltp_interfaces_pthread_barrierattr_init_2_1:
- https://github.com/apache/nuttx/issues/15170

This PR doubles the Stack Size for `testing/ltp` (from 4096 bytes to 8192), so that `rv-virt:citest` completes successfully.
2024-12-17 02:20:15 +08:00
buxiasen
1f8b9aa74c drivertest: update comment in driver test Kconfig
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
2024-12-11 01:28:27 +08:00
buxiasen
b232fa42cf drivertest: add arm-m signal through isr case
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
2024-12-11 01:28:27 +08:00
wangmingrong1
f1ae5f32f5 mtetest: Add a series of tests for the mte instruction set
Added basic mte instructions, ldg, stg, irg, gmi instruction tests

➜  NX git:(master) ✗ qemu-system-aarch64 -cpu max -nographic \
        -machine virt,virtualization=on,gic-version=3,mte=on \
        -chardev stdio,id=con,mux=on, -serial chardev:con \
        -mon chardev=con,mode=readline  -kernel ./nuttx/nuttx
- Ready to Boot Primary CPU
- Boot from EL2
- Boot from EL1
- Boot to C runtime for OS Initialize

NuttShell (NSH)
nsh>
nsh>
nsh> mtetest
Spawning process for test: mtetest1
Running test: mtetest1
Test 'mtetest1' completed
Spawning process for test: mtetest2
Running test: mtetest2
Test 'mtetest2' completed
Spawning process for test: mtetest3
Running test: mtetest3
Test 'mtetest3' completed
Spawning process for test: mtetest4
Running test: mtetest4
Test 'mtetest4' completed
Spawning process for test: mtetest5
Running test: mtetest5
Test 'mtetest5' completed
All tests completed.
nsh>

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2024-12-06 19:44:12 -03:00
wangmingrong1
818a3e6b63 kasantest.c: Adding Dependencies
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2024-12-04 22:36:04 +08:00
YAMAMOTO Takashi
365869b0a2 testing/ostest/signest.c: fix the range of signals
Note that MAX_SIGNO is a valid signal number.
2024-11-22 13:31:33 +08:00
YAMAMOTO Takashi
54a571fc92 testing/ostest/wdog.c: remove a set-only global 2024-11-22 13:31:19 +08:00
hujun5
d9d851813e testing: add iob test
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-11-17 21:10:25 +08:00
haopengxiang
f67097662f build(bugfix):fix uClibc++ layout build error
make[2]: *** No rule to make target '/home/nuttx/libs/libxx/uClibc++/tests/testframework.cpp',
needed by '/home/nuttx/libs/libxx/uClibc++/tests/testframework.cpp.home.apps.testing.uclibcxx_test.o'.  Stop.

Signed-off-by: haopengxiang <haopengxiang@xiaomi.com>
2024-11-16 21:33:32 +01:00
anjiahao
59855a1a67 remove <nuttx/xxx.h> in stdio need add depend header file
libuv:
CC:  pthread/pthread_mutexattr_setrobust.c libuv/src/unix/thread.c: In function ‘uv_thread_create_ex’:
libuv/src/unix/thread.c:174:24: error: storage size of ‘param’ isn’t known
  174 |     struct sched_param param;
      |                        ^~~~~

btsak_main:
In file included from btsak_main.c:39:
btsak.h:149:1: error: unknown type name ‘bool’
  149 | bool btsak_str2bool(FAR const char *str);

pipe_main.c:
CC:  sim/sim_registerdump.c pipe_main.c:44:30: error: unknown type name ‘pthread_addr_t’
   44 | static void *open_write_only(pthread_addr_t pvarg)
      |                              ^~~~~~~~~~~~~~
pipe_main.c: In function ‘pipe_main’:
pipe_main.c:81:3: error: unknown type name ‘pthread_t’
   81 |   pthread_t writeonly;

redirect_test.c: In function ‘redirection_test’:
redirect_test.c:205:3: error: unknown type name ‘pthread_t’
  205 |   pthread_t readerid;
      |   ^~~~~~~~~
redirect_test.c:206:3: error: unknown type name ‘pthread_t’
  206 |   pthread_t writerid;
      |   ^~~~~~~~~

drivertest_posix_timer.c:48:29: error: ‘optarg’ undeclared (first use in this function)
   48 |       value = (type)strtoul(optarg, &ptr, base);                      \

drivertest_posix_timer.c:208:3: warning: implicit declaration of function ‘sleep’ [-Wimplicit-function-declaration]
  208 |   sleep(SLEEPSECONDS);
      |   ^~~~~

drivertest_uart.c:92:13: warning: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration]
   92 |       len = read(fd, &tmp_char, 1);
      |             ^~~~
      |             fread

drivertest_uart.c:323:44: error: ‘optopt’ undeclared (first use in this function)
  323 |             printf("Unknown option: %c\n", optopt);

kernel/fs/cases/fs_getfilep_test.c:71:9: warning: implicit declaration of function ‘fs_getfilep’ [-Wimplicit-function-declaration]
   71 |   ret = fs_getfilep(fileno(fp), &filep);
      |         ^~~~~~~~~~~

kernel/mm/cases/mm_test_008.c:148:9: warning: implicit declaration of function ‘task_create’; did you mean ‘timer_create’? [-Wimplicit-function-declaration]
  148 |   pid = task_create("TestNuttx08_routine_1",
      |         ^~~~~~~~~~~
      |         timer_create

/home/ajh/work/nuttxwork/apps/testing/cmocka/cmocka_main.c:171:11: warning: implicit declaration of function ‘setenv’ [-Wimplicit-function-declaration]
  171 |           setenv("CMOCKA_XML_FILE", xml_path, 1);
      |           ^~~~~~

drivertest_pm_runtime.c:123:7: warning: implicit declaration of function ‘usleep’ [-Wimplicit-function-declaration]
  123 |       usleep(210 * 1000);
      |       ^~~~~~

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2024-11-13 16:49:12 +08:00
cuiziwei
2a76d17e10 cxxtest: Add static string test.
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2024-11-13 13:18:17 +08:00
anjiahao
dfbf408567 stdio.h:Remove unnecessary header file, app header change
stdio.h remove <nuttx/xxxx.h>  Some .c previously depended on
<nuttx/xxx.h> and needed to be added to .c instead of stdio.h

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2024-11-12 19:37:10 +08:00