hongfengchen
d0e949cb24
testing: add unistd.h and pthread.h headers
...
Add unistd.h and pthread.h for memorystress_main.c, unistd.h for
dhm.c and cachetest_main.c, and pthread.h for kv_test_019.c to fix
missing declarations.
Signed-off-by: hongfengchen <hongfengchen@xiaomi.com>
2026-01-26 19:32:27 +08:00
tengshuangshuang
5216065fb8
cache_test: fix up_flash_dcache error
...
Fix flash dcache helper error handling in cache_test to properly
handle errors when flushing data cache operations fail.
Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
2026-01-22 19:48:57 +08:00
raiden00pl
8c5c506e40
testing/cachetest: fix compilation error for arm64
...
fix compilation error:
cachetest_main.c:37:26: error: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Werror=format=]
37 | #define CACHETEST_PREFIX "CACHE Test: "
| ^~~~~~~~~~~~~~
cachetest_main.c:150:20: note: in expansion of macro 'CACHETEST_PREFIX'
150 | syslog(LOG_INFO, CACHETEST_PREFIX "waddr:%p, uncacheble addr start:%p,"
| ^~~~~~~~~~~~~~~~
cachetest_main.c:151:17: note: format string is defined here
151 | "size:%u\n", info->waddr,
| ~^
| |
| unsigned int
| %lu
Signed-off-by: raiden00pl <raiden00@railab.me>
2025-12-05 17:53:57 +01:00
raiden00pl
91a7580303
testing/mm/cachetest/cachetest_main.c: fix codespell error
...
fix codespell error for cachetest_main.c
Signed-off-by: raiden00pl <raiden00@railab.me>
2025-11-02 22:33:46 +08:00
raiden00pl
0a906edd81
testing/mm/cachetest/cachetest_main.c: fix compilation error
...
fix compilation error:
cachetest_main.c: In function ‘cachetest_main’:
cachetest_main.c:240:7: error: implicit declaration of function ‘up_flush_dcache’ [-Wimplicit-function-declaration]
240 | up_flush_dcache((uintptr_t)info.waddr, (uintptr_t)info.waddr +
Signed-off-by: raiden00pl <raiden00@railab.me>
2025-11-02 22:33:46 +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