From 91c35b06087b4e8da4d89057526e038fb2c3be70 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Wed, 27 Sep 2023 16:54:30 +0200 Subject: [PATCH] trace: fix test trace --- test/trace.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/test/trace.c b/test/trace.c index be85c828e..f92bac75a 100644 --- a/test/trace.c +++ b/test/trace.c @@ -28,9 +28,6 @@ int test_trace(void) if (test_mode == TEST_THREAD) return ESKIPPED; - err = re_trace_init("test_trace.json"); - TEST_ERR(err); - RE_TRACE_PROCESS_NAME("retest"); RE_TRACE_THREAD_NAME("test_trace"); RE_TRACE_BEGIN("test", "Test Loop Start"); @@ -54,18 +51,6 @@ int test_trace(void) RE_TRACE_END("test", "Test Loop End"); - err = re_trace_close(); - TEST_ERR(err); - - /* Test TRACE after close - should do nothing */ - RE_TRACE_BEGIN("test", "test after close"); - -#ifdef WIN32 - (void)_unlink("test_trace.json"); -#else - (void)unlink("test_trace.json"); -#endif - out: return err; }