summaryrefslogtreecommitdiff
path: root/build-aux/syntax-check.mk
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2021-04-06 14:19:40 +0200
committerPeter Krempa <pkrempa@redhat.com>2021-04-12 15:55:10 +0200
commit13ffa48d2fb18d1f23338fed721442421abf56c6 (patch)
tree351d031b48870a4966902b812db411d062dfb7e5 /build-aux/syntax-check.mk
parent49c505a2e07587b6b1a5bca255cfac0fb910b320 (diff)
downloadlibvirt-13ffa48d2fb18d1f23338fed721442421abf56c6.tar.gz
nwfilterxml2firewalldata: Use internal wrapping to wrap output files
As with previous commits use virCommandSetDryRun to invoke virCommandToString so that it returns pre-wrapped string. Since virCommand is better aware of where the arguments terminate we can see an improvement where comments are no longer line-wrapped. The changes to the 'commonRules' strings were done with the following regex: s/ -/ \\\\\\n-/ Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Diffstat (limited to 'build-aux/syntax-check.mk')
-rw-r--r--build-aux/syntax-check.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk
index 1c2ea1c98a..bfff8abece 100644
--- a/build-aux/syntax-check.mk
+++ b/build-aux/syntax-check.mk
@@ -1713,7 +1713,7 @@ sc_header-ifdef:
$(PYTHON) $(top_srcdir)/scripts/header-ifdef.py
sc_test-wrap-argv:
- $(AM_V_GEN)$(VC_LIST) | $(GREP) -v -E 'qemuxml2argvdata' \
+ $(AM_V_GEN)$(VC_LIST) | $(GREP) -v -E 'qemuxml2argvdata|nwfilterxml2firewalldata' \
|$(GREP) -E '\.(ldargs|args)' | $(RUNUTF8) xargs \
$(PYTHON) $(top_srcdir)/scripts/test-wrap-argv.py --check