chiark / gitweb /
test: Wire into "make check"
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 12 Oct 2019 21:45:11 +0000 (22:45 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 12 Oct 2019 22:29:26 +0000 (23:29 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile.in

index d2ca9b3..45b4866 100644 (file)
@@ -133,7 +133,7 @@ endif
 
 check: eax-aes-test.confirm eax-serpent-test.confirm \
        eax-serpentbe-test.confirm check-ipaddrset \
-       msgcode-test.confirm
+       msgcode-test.confirm check-test
 
 version.c: Makefile
        echo "#include \"secnet.h\"" >$@.new
@@ -164,6 +164,12 @@ check-ipaddrset: ipaddrset-test.py ipaddrset.py ipaddrset-test.expected
        $(srcdir)/ipaddrset-test.py >ipaddrset-test.new
        diff -u $(srcdir)/ipaddrset-test.expected ipaddrset-test.new
 
+check-test: secnet test-example/sites.conf
+       $(MAKE) -C test check
+
+test-example/sites.conf:
+       $(MAKE) -C test-example
+
 .PRECIOUS: eax-%-test
 
 installdirs: