rra / c-tap-harness

C harness for running TAP-compliant tests
https://www.eyrie.org/~eagle/software/c-tap-harness/
Other
36 stars 15 forks source link

Add test_cleanup_register_with_data #6

Closed mdionne closed 6 years ago

mdionne commented 6 years ago

Add a new variant of test_cleanup_register that allows an opaque pointer to be passed to the registered cleanup function. This can be useful to pass in information that can be used for the cleanup, such as file/directory names, etc.

rra commented 6 years ago

Thank you! Do you have the time to also add appropriate tests to tests/libtap/cleanup? Let me know if not and I can try to find time to do that piece.