Files
wget2/cfg.mk
Tim Rühsen 5612f76377 Add OSS-Fuzz reproducers to test suite
* cfg.mk: Exclude *.repro/* from syntax-check
* fuzz/Makefile.am: Add *.repro/* to EXTRA_DIST
* fuzz/libwget_metalink_parse_fuzzer.repro/clusterfuzz-testcase-minimized-5103826937839616:
    Reproducer for OSS-Fuzz issue #1915
* fuzz/libwget_xml_parse_buffer_fuzzer.repro/clusterfuzz-testcase-minimized-4704516446355456:
    Reproducer for OSS-Fuzz issue #2041
* fuzz/main.c: Scan and test all files from *.repro/
2017-06-04 21:10:17 +02:00

20 lines
939 B
Makefile

# Explicit syntax-check exceptions.
VC_LIST_ALWAYS_EXCLUDE_REGEX = ^data/.*|tests/files/.*|.*.png|^fuzz/.*.in/.*|.*.repro/.*$$
local-checks-to-skip = \
sc_cast_of_argument_to_free \
sc_immutable_NEWS \
sc_makefile_at_at_check \
sc_prohibit_always_true_header_tests \
sc_prohibit_atoi_atof \
sc_prohibit_strcmp
# Explicit syntax-check exceptions.
exclude_file_name_regexp--sc_bindtextdomain = ^(tests|unit-tests|examples|fuzz)/.*.c|^libwget/test_linking.c$$
exclude_file_name_regexp--sc_po_check = ^examples/|tests/.*.c$$
exclude_file_name_regexp--sc_prohibit_magic_number_exit = tests/.*.c$$
exclude_file_name_regexp--sc_trailing_blank = docs/DoxygenLayout.xml|docs/libwget.doxy.in$$
exclude_file_name_regexp--sc_two_space_separator_in_usage = docs/wget2_manual.md$$
exclude_file_name_regexp--sc_require_config_h = examples/.*.c|fuzz/main.c$$
exclude_file_name_regexp--sc_require_config_h_first = examples/.*.c|fuzz/main.c$$