Re: C implementation of Test::Harness' TAP protocol

2004-12-07 Thread muppet
On Dec 7, 2004, at 4:07 AM, Clayton, Nik wrote: Michael G Schwern wrote: On Mon, Dec 06, 2004 at 10:00:32AM -, Clayton, Nik wrote: Then you have one of ok() or ok2() at your disposal. ok()'s first parameter is the code to test. The second parameter is the test name. This is a printf()like for

Re: C implementation of Test::Harness' TAP protocol

2004-12-08 Thread muppet
On Dec 7, 2004, at 9:25 PM, Andrew Savige wrote: /* Horrible hacky thread-unsafe version but no XX */ ... static const char* g_file; static unsigned long g_line; i forgot to mention, the way around the non-thread-safety here is to use thread-local storage. c.f. pthread_key_create() and p