summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/unit/Makefile
diff options
context:
space:
mode:
authordoug <>2015-06-27 23:35:52 +0000
committerdoug <>2015-06-27 23:35:52 +0000
commita37b07aa0776c4c4f84a698161d022b845148dde (patch)
treed71cf580866a5b49fd8f4c0d554fd7807d5aac0f /src/regress/lib/libssl/unit/Makefile
parentd788c94c3402544911d6c17ebe52027adc5f4c42 (diff)
downloadopenbsd-a37b07aa0776c4c4f84a698161d022b845148dde.tar.gz
openbsd-a37b07aa0776c4c4f84a698161d022b845148dde.tar.bz2
openbsd-a37b07aa0776c4c4f84a698161d022b845148dde.zip
Add unit tests for LibreSSL.
cipher_list.c is based on code from jsing@. Discussed with jsing@
Diffstat (limited to 'src/regress/lib/libssl/unit/Makefile')
-rw-r--r--src/regress/lib/libssl/unit/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/regress/lib/libssl/unit/Makefile b/src/regress/lib/libssl/unit/Makefile
new file mode 100644
index 0000000000..c014615900
--- /dev/null
+++ b/src/regress/lib/libssl/unit/Makefile
@@ -0,0 +1,20 @@
1# $OpenBSD: Makefile,v 1.1 2015/06/27 23:35:52 doug Exp $
2
3TEST_CASES+= cipher_list
4
5REGRESS_TARGETS= all_tests
6
7LDADD= -lcrypto -lssl
8DPADD= ${LIBCRYPTO} ${LIBSSL}
9WARNINGS= Yes
10LDFLAGS+= -lcrypto -lssl
11CFLAGS+= -DLIBRESSL_INTERNAL -Wall -Wundef -Werror -I../../../../lib/libssl/src/ssl
12
13CLEANFILES+= ${TEST_CASES}
14
15all_tests: ${TEST_CASES}
16 @for test in $>; do \
17 ./$$test; \
18 done
19
20.include <bsd.regress.mk>