mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
Makefile: Add check_cocci_parse.sh as check-cocci
And add it to check-local. Part of 31919.
This commit is contained in:
parent
1094389d82
commit
ba64caee87
13
Makefile.am
13
Makefile.am
@ -188,7 +188,13 @@ EXTRA_DIST+= \
|
|||||||
scripts/maint/practracker/testdata/header.h \
|
scripts/maint/practracker/testdata/header.h \
|
||||||
scripts/maint/practracker/testdata/not_c_file \
|
scripts/maint/practracker/testdata/not_c_file \
|
||||||
scripts/maint/practracker/test_practracker.sh \
|
scripts/maint/practracker/test_practracker.sh \
|
||||||
scripts/maint/practracker/util.py
|
scripts/maint/practracker/util.py \
|
||||||
|
scripts/coccinelle/apply.sh \
|
||||||
|
scripts/coccinelle/check_cocci_parse.sh \
|
||||||
|
scripts/coccinelle/exceptions.txt \
|
||||||
|
scripts/coccinelle/test-operator-cleanup \
|
||||||
|
scripts/coccinelle/tor-coccinelle.h \
|
||||||
|
scripts/coccinelle/try_parse.sh
|
||||||
|
|
||||||
## This tells etags how to find mockable function definitions.
|
## This tells etags how to find mockable function definitions.
|
||||||
AM_ETAGSFLAGS=--regex='{c}/MOCK_IMPL([^,]+,\W*\([a-zA-Z0-9_]+\)\W*,/\1/s'
|
AM_ETAGSFLAGS=--regex='{c}/MOCK_IMPL([^,]+,\W*\([a-zA-Z0-9_]+\)\W*,/\1/s'
|
||||||
@ -246,7 +252,7 @@ test: all
|
|||||||
shellcheck:
|
shellcheck:
|
||||||
$(top_srcdir)/scripts/maint/checkShellScripts.sh
|
$(top_srcdir)/scripts/maint/checkShellScripts.sh
|
||||||
|
|
||||||
check-local: check-spaces check-changes check-includes check-best-practices shellcheck
|
check-local: check-spaces check-changes check-includes check-best-practices shellcheck check-cocci
|
||||||
|
|
||||||
need-chutney-path:
|
need-chutney-path:
|
||||||
@if test ! -d "$$CHUTNEY_PATH"; then \
|
@if test ! -d "$$CHUTNEY_PATH"; then \
|
||||||
@ -379,6 +385,9 @@ if USEPYTHON
|
|||||||
@$(PYTHON) $(top_srcdir)/scripts/maint/practracker/practracker.py $(top_srcdir) $(TOR_PRACTRACKER_OPTIONS)
|
@$(PYTHON) $(top_srcdir)/scripts/maint/practracker/practracker.py $(top_srcdir) $(TOR_PRACTRACKER_OPTIONS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
check-cocci:
|
||||||
|
VERBOSE=1 $(top_srcdir)/scripts/coccinelle/check_cocci_parse.sh $(OWNED_TOR_C_FILES)
|
||||||
|
|
||||||
practracker-regen:
|
practracker-regen:
|
||||||
$(PYTHON) $(top_srcdir)/scripts/maint/practracker/practracker.py --regen $(top_srcdir)
|
$(PYTHON) $(top_srcdir)/scripts/maint/practracker/practracker.py --regen $(top_srcdir)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user