$ make installThis will copy libcmoacka static library to lib/libcmocka.a and two .h files into include.
$ make test$ ./cmockatest
[==========] Running 4 test(s).
[ RUN ] test_replace_char_null_ptr
[ ERROR ] --- 0xffffffffffffffff == 0xffffffffffffffff
[ LINE ] --- test.c:10: error: Failure!
[ FAILED ] test_replace_char_null_ptr
[ RUN ] test_replace_char_a_to_b
[ OK ] test_replace_char_a_to_b
[ RUN ] test_replace_char_empty_str
[ OK ] test_replace_char_empty_str
[ RUN ] test_replace_char_no_change
[ OK ] test_replace_char_no_change
[==========] 4 test(s) run.
[ PASSED ] 3 test(s).
[ FAILED ] 1 test(s), listed below:
[ FAILED ] test_replace_char_null_ptr
1 FAILED TEST(S)