nuttx-apps/testing
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
..
arch_libc cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
atomic cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
cachetest cachetest:Tools for testing cache and uncacheable 2024-08-07 10:03:16 +08:00
cmocka remove <nuttx/xxx.h> in stdio need add depend header file 2024-11-13 16:49:12 +08:00
cpuload testing/cpuload: increase thread prio 2024-08-24 11:12:16 +08:00
crypto testing/hash: add hash test case for updating huge block once 2024-09-30 14:15:21 +08:00
cxxsize cxxsize: Updata code size. 2024-10-16 17:10:33 +02:00
cxxtest cxxtest: Add static string test. 2024-11-13 13:18:17 +08:00
drivertest remove <nuttx/xxx.h> in stdio need add depend header file 2024-11-13 16:49:12 +08:00
epoll cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
fatutf8 testing/fatutf8:fix Out of bounds writing 2024-10-27 22:30:39 +08:00
fdsantest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
fff porting fake function framework 2024-08-17 13:46:03 +08:00
fftest testing/fftest: add Force feedback driver test 2024-09-09 14:16:16 +08:00
fmemopen cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
fopencookie remove testing/xxx/README.md. Migrated to Documentation/applications/testing 2023-10-30 10:00:01 +08:00
fstest fstest: Add header to fix build issues 2024-10-16 07:17:20 +08:00
getprime apps: Fix compilation error after nuttx/arch.h excluded. 2024-10-16 07:12:40 +08:00
himem_test testing/himem_test: Verify the creation of himem and read/write character devices, 2024-08-22 15:18:24 +08:00
irtest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
kasantest kasantest: Add some tests for legitimate and illegitimate operations of memory APIs 2024-10-22 23:14:50 +08:00
ltp pthread_cleanup: move clenup down to tls 2024-09-14 20:15:31 +08:00
memstress testing/memstress:Fix FAR prefix 2024-08-07 10:02:59 +08:00
memtester cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
mm testing: mm test will be skipped to prevent memory overflow 2024-10-17 23:29:41 +08:00
monkey testing/monkey: add screen offset config support 2024-10-09 22:40:15 +08:00
mtd_config_fs cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
nand_sim cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
nist-sts cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
nxffs cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
open_memstream cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
ostest stdio.h:Remove unnecessary header file, app header change 2024-11-12 19:37:10 +08:00
pcitest pci: add pcitest tool 2024-08-27 22:07:57 +08:00
ramtest testing/ramtest: Fix not updated CMake file 2024-09-20 10:55:06 +08:00
resmonitor resmonitor: add showinfo/filldisk/fillcpu/fillmem from test/ 2024-10-28 22:51:36 +08:00
scanftest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
sd_bench testing/[sd_bench|sd_stress]: make print compatible for both 32-bit and 64-bit environment. 2024-07-04 17:43:32 +08:00
sd_stress testing/[sd_bench|sd_stress]: make print compatible for both 32-bit and 64-bit environment. 2024-07-04 17:43:32 +08:00
sensortest apps: use sizeof array in snprintf 2024-10-02 10:40:05 +02:00
setest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
smart cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
smart_test testing/smart_test/smart_test.c: fix wrong offset in fseek 2024-07-04 01:12:44 +08:00
smp cmake: add smp test 2024-02-05 08:46:22 -08:00
stressapptest testing/stressapptest: fix: git status --ignore normalization check problem 2024-10-28 00:40:37 +01:00
testsuites remove <nuttx/xxx.h> in stdio need add depend header file 2024-11-13 16:49:12 +08:00
timerjitter apps/testing: Introduce timerjitter test case 2024-10-16 17:09:51 +08:00
uclibcxx_test uclibcxx_test/Make.defs Fix mistakes in comments 2023-03-09 01:43:09 +08:00
unity cmake: add support for Unity 2024-03-23 22:12:46 +01:00
x86-64-ABI add x86-64-ABI/.gitignore 2024-10-29 12:30:42 +08:00
.gitignore Ensure all source code end with one and only one newline 2020-02-09 08:14:49 -06:00
CMakeLists.txt add initial cmake build system 2023-07-08 13:52:02 +08:00
Make.defs Makefiles: Mateusz Szafoni: update licenses to Apache 2021-06-07 21:35:33 -05:00
Makefile Makefiles: Mateusz Szafoni: update licenses to Apache 2021-06-07 21:35:33 -05:00