aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt28
1 files changed, 24 insertions, 4 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 787c955..13dd005 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -2,6 +2,7 @@ include_directories(
2 . 2 .
3 ../crypto/modes 3 ../crypto/modes
4 ../crypto/asn1 4 ../crypto/asn1
5 ../crypto/x509
5 ../ssl 6 ../ssl
6 ../tls 7 ../tls
7 ../apps/openssl 8 ../apps/openssl
@@ -123,10 +124,12 @@ if(NOT BUILD_SHARED_LIBS)
123 add_test(cipher_list cipher_list) 124 add_test(cipher_list cipher_list)
124endif() 125endif()
125 126
126# cipherstest 127if(NOT BUILD_SHARED_LIBS)
127add_executable(cipherstest cipherstest.c) 128 # cipherstest
128target_link_libraries(cipherstest ${OPENSSL_LIBS}) 129 add_executable(cipherstest cipherstest.c)
129add_test(cipherstest cipherstest) 130 target_link_libraries(cipherstest ${OPENSSL_LIBS})
131 add_test(cipherstest cipherstest)
132endif()
130 133
131# clienttest 134# clienttest
132# disabled 135# disabled
@@ -144,6 +147,13 @@ add_executable(configtest configtest.c)
144target_link_libraries(configtest ${OPENSSL_LIBS}) 147target_link_libraries(configtest ${OPENSSL_LIBS})
145add_test(configtest configtest) 148add_test(configtest configtest)
146 149
150# constraints
151if(NOT BUILD_SHARED_LIBS)
152 add_executable(constraints constraints.c)
153 target_link_libraries(constraints ${OPENSSL_LIBS})
154 add_test(constraints constraints)
155endif()
156
147# cts128test 157# cts128test
148add_executable(cts128test cts128test.c) 158add_executable(cts128test cts128test.c)
149target_link_libraries(cts128test ${OPENSSL_LIBS}) 159target_link_libraries(cts128test ${OPENSSL_LIBS})
@@ -533,6 +543,16 @@ add_executable(x25519test x25519test.c)
533target_link_libraries(x25519test ${OPENSSL_LIBS}) 543target_link_libraries(x25519test ${OPENSSL_LIBS})
534add_test(x25519test x25519test) 544add_test(x25519test x25519test)
535 545
546# x509attribute
547add_executable(x509attribute x509attribute.c)
548target_link_libraries(x509attribute ${OPENSSL_LIBS})
549add_test(x509attribute x509attribute)
550
551# x509_info
552add_executable(x509_info x509_info.c)
553target_link_libraries(x509_info ${OPENSSL_LIBS})
554add_test(x509_info x509_info)
555
536# x509name 556# x509name
537add_executable(x509name x509name.c) 557add_executable(x509name x509name.c)
538target_link_libraries(x509name ${OPENSSL_LIBS}) 558target_link_libraries(x509name ${OPENSSL_LIBS})