diff options
| author | doug <> | 2015-06-27 23:35:52 +0000 |
|---|---|---|
| committer | doug <> | 2015-06-27 23:35:52 +0000 |
| commit | a37b07aa0776c4c4f84a698161d022b845148dde (patch) | |
| tree | d71cf580866a5b49fd8f4c0d554fd7807d5aac0f /src/regress/lib/libssl/unit/Makefile | |
| parent | d788c94c3402544911d6c17ebe52027adc5f4c42 (diff) | |
| download | openbsd-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/Makefile | 20 |
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 | |||
| 3 | TEST_CASES+= cipher_list | ||
| 4 | |||
| 5 | REGRESS_TARGETS= all_tests | ||
| 6 | |||
| 7 | LDADD= -lcrypto -lssl | ||
| 8 | DPADD= ${LIBCRYPTO} ${LIBSSL} | ||
| 9 | WARNINGS= Yes | ||
| 10 | LDFLAGS+= -lcrypto -lssl | ||
| 11 | CFLAGS+= -DLIBRESSL_INTERNAL -Wall -Wundef -Werror -I../../../../lib/libssl/src/ssl | ||
| 12 | |||
| 13 | CLEANFILES+= ${TEST_CASES} | ||
| 14 | |||
| 15 | all_tests: ${TEST_CASES} | ||
| 16 | @for test in $>; do \ | ||
| 17 | ./$$test; \ | ||
| 18 | done | ||
| 19 | |||
| 20 | .include <bsd.regress.mk> | ||
