Commit a49fb1e2 authored by Nick Mathewson's avatar Nick Mathewson 🎨
Browse files

Teach 'make tags' about MOCK_IMPL.

Patch from nherring; closes ticket 16869
parent 3b2f012e
......@@ -36,6 +36,9 @@ EXTRA_DIST+= \
README \
ReleaseNotes
## This tells etags how to find mockable function definitions.
AM_ETAGSFLAGS=--regex='{c}/MOCK_IMPL([^,]+,\W*\([a-zA-Z0-9_]+\)\W*,/\1/s'
if COVERAGE_ENABLED
TEST_CFLAGS=-fno-inline -fprofile-arcs -ftest-coverage
if DISABLE_ASSERTS_IN_UNIT_TESTS
......
o Minor features (development tools, etags):
- Teach the "make tags" Makefile target how to correctly find
"MOCK_IMPL" function definitions. Patch from nherring; closes
ticket 16869.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment