1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

Run cryptsuite in the autotools makefile's 'make check'.

Now we've _got_ a test suite, this seems like an obviously useful
place to put an invocation of it.
This commit is contained in:
Simon Tatham 2019-01-25 20:15:24 +00:00
parent ca361fd77f
commit 22b42bdfd5

8
Recipe
View File

@ -138,6 +138,14 @@ libversion_a_CFLAGS += -DSOURCE_COMMIT=\"`git --git-dir=$(srcdir)/.git rev-parse
empty.h: $(allsources)
echo '/* Empty file touched by automake makefile to force rebuild of version.o */' >$@
endif
# Run the cryptsuite tests as part of 'make check'. Override
# PUTTY_TESTCRYPT so that cryptsuite will take the testcrypt binary
# from the build directory instead of the source directory, in case
# this is an out-of-tree build.
check-local: testcrypt
PUTTY_TESTCRYPT=./testcrypt $(srcdir)/test/cryptsuite.py
!end
!begin >empty.h
/* Empty file touched by automake makefile to force rebuild of version.o */