add new tests
This commit is contained in:
parent
c84250a4e4
commit
34bfb6ecb5
@ -8,6 +8,7 @@ AM_CPPFLAGS += -I $(top_srcdir)/apps
|
||||
LDADD = $(PLATFORM_LDADD) $(PROG_LDADD)
|
||||
LDADD += $(top_builddir)/ssl/libssl.la
|
||||
LDADD += $(top_builddir)/crypto/libcrypto.la
|
||||
LDADD += $(top_builddir)/tls/libtls.la
|
||||
|
||||
TESTS =
|
||||
check_PROGRAMS =
|
||||
@ -89,6 +90,11 @@ TESTS += cipherstest
|
||||
check_PROGRAMS += cipherstest
|
||||
cipherstest_SOURCES = cipherstest.c
|
||||
|
||||
# clienttest
|
||||
TESTS += clienttest
|
||||
check_PROGRAMS += clienttest
|
||||
clienttest_SOURCES = clienttest.c
|
||||
|
||||
# cts128test
|
||||
TESTS += cts128test
|
||||
check_PROGRAMS += cts128test
|
||||
@ -300,3 +306,7 @@ TESTS += utf8test
|
||||
check_PROGRAMS += utf8test
|
||||
utf8test_SOURCES = utf8test.c
|
||||
|
||||
# verifytest
|
||||
TESTS += verifytest
|
||||
check_PROGRAMS += verifytest
|
||||
verifytest_SOURCES = verifytest.c
|
||||
|
@ -25,6 +25,7 @@ libcrypto_regress=$CWD/openbsd/src/regress/lib/libcrypto
|
||||
libssl_src=$CWD/openbsd/src/lib/libssl
|
||||
libssl_regress=$CWD/openbsd/src/regress/lib/libssl
|
||||
libtls_src=$CWD/openbsd/src/lib/libtls
|
||||
libtls_regress=$CWD/openbsd/src/regress/lib/libtls
|
||||
openssl_app_src=$CWD/openbsd/src/usr.bin/openssl
|
||||
|
||||
# load library versions
|
||||
@ -252,6 +253,11 @@ $CP $libssl_regress/unit/tests.h tests
|
||||
$CP $libssl_regress/certs/ca.pem tests
|
||||
$CP $libssl_regress/certs/server.pem tests
|
||||
|
||||
# copy libtls tests
|
||||
for i in `find $libtls_regress -name '*.c'`; do
|
||||
$CP "$i" tests
|
||||
done
|
||||
|
||||
chmod 755 tests/testssl
|
||||
|
||||
# add headers
|
||||
|
Loading…
Reference in New Issue
Block a user