[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Test Anything Protocol (TAP) support has been added


Hi,

I've just added TAP support.

asn@krikkit:~/workspace/projects/cmocka/obj> CMOCKA_MESSAGE_OUTPUT=tap 
./tests/test_fixtures 
1..6
ok 1 - malloc_setup_test
ok 2 - malloc_setup_test
ok 3 - malloc_teardown_test
ok 4 - malloc_teardown_test
ok 5 - malloc_teardown_test
ok 6 - malloc_teardown_test
asn@krikkit:~/workspace/projects/cmocka/obj> CMOCKA_MESSAGE_OUTPUT=tap 
./tests/test_assert_macros_fail 
1..1
not ok 1 - test_assert_return_code_fail
# fd < 0, errno(2): No such file or directory
# /home/asn/workspace/projects/cmocka/tests/test_assert_macros_fail.c:22: 
error: Failure!

It is available in my WIP repo here:
http://git.cryptomilk.org/users/asn/cmocka.git/log/?h=rewrite

Testing and feedback welcome!


	-- andreas