Permalink
Browse files

syntax-check: Ignore more syntax-check problems.

For some reason maint.mk doesn't process all of these regexps,
or perhaps the regexps are not well-formed.
(cherry picked from commit 77d0806)
  • Loading branch information...
1 parent 2de8625 commit e1548adfe3d4607f7c4037598649913ff36e6445 @rwmjones rwmjones committed May 24, 2013
Showing with 8 additions and 6 deletions.
  1. +8 −6 cfg.mk
View
14 cfg.mk
@@ -25,15 +25,17 @@ url_dir_list = \
ftp://$(gnu_rel_host)/gnu/coreutils
# Exclude some filenames.
-exclude_file_name_regexp--sc_bindtextdomain = ^(daemon|erlang|examples|tests)/
-exclude_file_name_regexp--sc_error_message_period = ^php/
-exclude_file_name_regexp--sc_prohibit_always-defined_macros = ^examples/
+exclude_file_name_regexp--sc_bindtextdomain = ^(daemon|erlang|examples|tests)/|/test-
+exclude_file_name_regexp--sc_error_message_period = ^(generator|php|po-docs)/
+exclude_file_name_regexp--sc_prohibit_always-defined_macros = ^examples/|^tests/xml/fake-libvirt-xml\.c|^daemon/guestfsd\.c
exclude_file_name_regexp--sc_prohibit_doubled_word = ^po/
-exclude_file_name_regexp--sc_prohibit_magic_number_exit = ^(po|po-docs)/|\.pod$
-exclude_file_name_regexp--sc_prohibit_strcmp = ^examples/
-exclude_file_name_regexp--sc_prohibit_strcmp_and_strncmp = ^examples/
+exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = ^tests/data/|\.patch$|\.png$|^tests/guests/guest-aux/debian-packages|^tests/guests/guest-aux/minimal-hive
+exclude_file_name_regexp--sc_prohibit_magic_number_exit = ^(po|po-docs)/|\.pod$|^fuse/guestunmount\.c
+exclude_file_name_regexp--sc_prohibit_strcmp = ^(examples|po-docs)/|\.pod$
+exclude_file_name_regexp--sc_prohibit_strcmp_and_strncmp = ^(examples|po-docs)/|\.pod$
exclude_file_name_regexp--sc_prohibit_strncpy = ^src/launch-.*\.c$
exclude_file_name_regexp--sc_require_config_h = ^examples/|^tests/c-api/test-just-header\.c$
+exclude_file_name_regexp--sc_require_config_h_first = ^examples/|^tests/c-api/test-just-header\.c$|^python/guestfs-py-byhand\.c$
# Tests not to run as part of "make distcheck".
local-checks-to-skip = \

0 comments on commit e1548ad

Please sign in to comment.