]> pd.if.org Git - nbds/blobdiff - test/CuTest.c
lock-free skiplist
[nbds] / test / CuTest.c
index fb4950d647b1c951e050bfdff24560835ad01f3b..2bcce6064fb37498ee4fd1b3b71ac44f8bb631ec 100644 (file)
@@ -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);
 }