Skip to content

Commit

Permalink
trace: fix test trace
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Sep 27, 2023
1 parent 1a57756 commit 91c35b0
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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;
}

0 comments on commit 91c35b0

Please sign in to comment.