X-Git-Url: https://pd.if.org/git/?p=nbds;a=blobdiff_plain;f=test%2FCuTest.c;h=2bcce6064fb37498ee4fd1b3b71ac44f8bb631ec;hp=fb4950d647b1c951e050bfdff24560835ad01f3b;hb=7899dce86342c50be9a52d148fa27375bdb5d218;hpb=010e49988a8b12f78053c387b3798763b4e8df18 diff --git a/test/CuTest.c b/test/CuTest.c index fb4950d..2bcce60 100644 --- a/test/CuTest.c +++ b/test/CuTest.c @@ -140,6 +140,10 @@ static void CuFailInternal(CuTest* tc, const char* file, int line, CuString* str tc->failed = 1; tc->message = string->buffer; +#ifdef ENABLE_TRACE + extern void lwt_dump(const char *); + lwt_dump(tc->name); +#endif if (tc->jumpBuf != 0) longjmp(*(tc->jumpBuf), 0); }