]> git.proxmox.com Git - proxmox-acme.git/blobdiff - src/test/Makefile
tests: run missing-function test on build
[proxmox-acme.git] / src / test / Makefile
index 982f6986552afb5f90db83b788977faec55c3dd6..5768124067fef6776ccfef6f2c4b1ded658248f9 100644 (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