lightweight TAP generator for C/C++ tests