Commit Graph

2 Commits

Author SHA1 Message Date
yinshengkai 9fe1894625 testing: fix compiler warning
apps/benchmarks/ramspeed/ramspeed_main.c:70:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
   #if HAS_IRQ_CONTROL
       ^
apps/examples/pipe/interlock_test.c:211:12: warning: variable 'readerid' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  else if (ret != 0)
           ^~~~~~~~
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: yinshengkai <yinshengkai@xiaomi.com>
2026-04-20 15:19:09 +08:00
tengshuangshuang 7b698ce6b8 apps/testing:move arch_libc, fmemopen, scanftest folders to the new libc folder
Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
2026-04-20 15:19:07 +08:00