summaryrefslogtreecommitdiff
path: root/tests/clar_libgit2_trace.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: declare trace handler as staticEdward Thomson2021-11-111-1/+1
|
* cmake: rename MSVC_CRTDBG to WIN32_LEAKCHECKEdward Thomson2020-11-211-2/+2
|
* tests: support CLAR_TRACE_LEVELEdward Thomson2020-01-241-15/+0
| | | | | | The CLAR_TRACE_LEVEL environment variable was supported when building with GIT_TRACE. Now we always build with GIT_TRACE, but that variable is not provided to tests. Simply support clar tracing always.
* tests: fix compiler warning if tracing is disabledPatrick Steinhardt2019-11-281-10/+16
| | | | | | | | If building libgit2's test suite with tracing disabled, then the compiler will emit a warning due to the unused `message_prefix` function. Fix the issue by wrapping the whole file into ifdef's for `GIT_TRACE` and providing separate empty function implementations for both `cl_global_trace_register` and `cl_global_trace_disable`.
* tests: optionally show test execution tracingethomson/traceEdward Thomson2019-11-271-1/+9
| | | | | Only show test trace execution when the CLAR_TRACE_TESTS environment variable is set. This reduces the noise during tracing.
* tests: display trace level with prefix in testsEdward Thomson2019-11-271-8/+24
|
* Include stacktrace summary in memory leak output.Jeff Hostetler2015-06-291-0/+19
|
* Added cl_perf_timer. Updated global trace to include timers.Jeff Hostetler2015-03-021-1/+21
|
* Cleanup formatting of clar trace messages.Jeff Hostetler2015-03-021-7/+7
|
* Provide mechanism to let CLAR globally setup git_trace()Jeff Hostetler2015-03-021-0/+209