Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您好,有人知道如何更改 cmocka 框架 printf 格式吗?
例如,如果assert_int_equal失败,它将以十六进制显示值
[ RUN ] test_something [ ERROR ] --- 0x194 != 0xc8
我想把它改成十进制
[ RUN ] test_something [ ERROR ] --- 404 != 200