| TESTS = init.sh \ |
| encryption.sh \ |
| signature.sh \ |
| engine.sh \ |
| certificate.sh \ |
| p11tool_checks.sh |
| if TEST_SIGN |
| TESTS += p11tool_test_sign.sh |
| endif |
| |
| AM_TESTS_ENVIRONMENT = OPENSSL_PKCS11_CONF=$(abs_srcdir)/op.conf; \ |
| srcdir=$(abs_srcdir); \ |
| OPENSSL_CONF=$(abs_srcdir)/openssl.cnf; \ |
| export OPENSSL_PKCS11_CONF srcdir OPENSSL_CONF; |
| TEST_EXTENSIONS = .sh |
| |
| CLEANFILES = key-*.* op.conf *.msg *.txt |
| |
| check_LTLIBRARIES = testengine.la |
| |
| testengine_la_SOURCES = testengine.c |
| ## |
| # weird autoconf problems here: -shared doesn't seem to work for check |
| # sources so we need a bogus -rpath / as well to force building of |
| # shared libraries |
| ## |
| testengine_la_LDFLAGS = -shared -no-undefined -avoid-version -module -rpath / |
| testengine_la_CFLAGS = -Wall -Werror |