]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build-aux: squelch trailing blank warnings from binary files
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 17 Feb 2025 17:00:42 +0000 (17:00 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 18 Feb 2025 18:08:04 +0000 (18:08 +0000)
These files pollute the stderr output when the sc_trailing_blank
syntax check fails.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
build-aux/syntax-check.mk

index e6afb879be3b84f7acef4c46e6f4feb57b152c0b..bd3dd6cb54e5b6fcbe3542d1f2da4f1f35ee1f05 100644 (file)
@@ -1438,7 +1438,7 @@ exclude_file_name_regexp--sc_require_config_h_first = \
        ^(examples/|tools/virsh-edit\.c$$|tests/virmockstathelpers\.c$$|scripts/rpcgen/tests/test_demo\.c$$)
 
 exclude_file_name_regexp--sc_trailing_blank = \
-  /sysinfodata/.*\.data|/virhostcpudata/.*\.cpuinfo|tests/virshtestdata/.*$$
+  /sysinfodata/.*\.data|/virhostcpudata/.*\.cpuinfo|tests/virshtestdata/.*|docs/fonts|scripts/rpcgen/tests/.*\.bin|tests/viracpidata/.*|tests/virpcitestdata/*|tests/virstoragetestdata/images/.*\.qcow2$$
 
 exclude_file_name_regexp--sc_unmarked_diagnostics = \
   ^(scripts/apibuild.py|tests/virt-aa-helper-test|docs/js/.*\.js)$$