tests: run missing-function test on build

as we only use a heuristic we maintain a known good expected false
positive list, update that if new ones get added but be sure that no
new function was included!

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-04-26 10:47:32 +02:00
parent cdeee69003
commit da5faaaca3
2 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,12 @@
.PHONY: test
test: verify-dnsapi-plugins-in-schema.pl.t
.PHONY: test test-missing-functions
test: verify-dnsapi-plugins-in-schema.pl.t test-missing-functions
%.t: %
./$<
test-missing-functions:
./check-missing-functions | sort -u > missing-functions.actual
# check if any change against our known-ok false-positive list
diff -up -N missing-functions.expected missing-functions.actual
rm missing-functions.actual # ok, cleanup

View File

@ -0,0 +1,4 @@
../acme.sh/dnsapi/dns_cyon.sh: printf "%s" "${_dns_entries}" | while read -r _hash _identifier; do
../acme.sh/dnsapi/dns_do.sh: for _rrid in ${_rr_list}; do
../acme.sh/dnsapi/dns_gdnsdk.sh: for _domain in $_domains; do
../acme.sh/dnsapi/dns_openstack.sh: for _rec in $_records; do