aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
blob: 446718e2aeeea44ed5a49e31919dd288420958a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 stderr

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