mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 22:25:51 +01:00
Teach 'make tags' about MOCK_IMPL.
Patch from nherring; closes ticket 16869
This commit is contained in:
parent
3b2f012e28
commit
a49fb1e2e5
2 changed files with 7 additions and 0 deletions
|
@ -36,6 +36,9 @@ EXTRA_DIST+= \
|
||||||
README \
|
README \
|
||||||
ReleaseNotes
|
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
|
if COVERAGE_ENABLED
|
||||||
TEST_CFLAGS=-fno-inline -fprofile-arcs -ftest-coverage
|
TEST_CFLAGS=-fno-inline -fprofile-arcs -ftest-coverage
|
||||||
if DISABLE_ASSERTS_IN_UNIT_TESTS
|
if DISABLE_ASSERTS_IN_UNIT_TESTS
|
||||||
|
|
4
changes/16869
Normal file
4
changes/16869
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
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.
|
Loading…
Add table
Reference in a new issue