| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Add unit test of memRouter. Signed-off-by: yangxin <245051644@qq.com> | 3 年前 | |
memRouter: test: Add missing header file I ran into this warning when building on openEuler 20.03, --------------------------------------------------------------------- In file included from /usr/include/CUnit/Automated.h:41:0, from /root/dev/etmem/memRouter/test/Unit/memdcd_cmd_llt_test/memdcd_cmd_llt.c:18: /root/dev/etmem/memRouter/test/Unit/memdcd_cmd_llt_test/memdcd_cmd_llt.c: In function ‘test_memdcd_cmd’: /root/dev/etmem/memRouter/test/Unit/memdcd_cmd_llt_test/memdcd_cmd_llt.c:39:21: warning: implicit declaratio n of function ‘handle_recv_buffer’ [-Wimplicit-function-declaration] CU_ASSERT_EQUAL(handle_recv_buffer((void *)wrong_msg, sizeof(struct memdcd_message) + 1), -1); ^ --------------------------------------------------------------------- Fix this by adding the missing header file, as it is obvious. Tested on x86_64 openEuler 20.03, 22.03 and 24.03. Signed-off-by: Enze Li <lienze@kylinos.cn> | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 年前 | ||
| 2 年前 |