test: Introduce TEST_DESTRUCTOR macro
commit925d35242c6f3b14211ab824a179856beb374fe4
authorPetr Písař <petr.pisar@atlas.cz>
Wed, 30 Oct 2013 19:29:19 +0000 (30 20:29 +0100)
committerPetr Písař <petr.pisar@atlas.cz>
Wed, 30 Oct 2013 19:29:19 +0000 (30 20:29 +0100)
tree861e6be1919d8d6487af3ef24ba5f68a060a9c95
parent63ff3a71b67e63660693abe5e298898d63de7659
test: Introduce TEST_DESTRUCTOR macro

This macro regiseters a call-back to invoke on TEST_PASS or TEST_FAIL. Please
note the second argument is a pointer value, not a symbol name. This pointer
will be passed to the function declared by first argument.
test/test.h