diff options
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 28 |
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) |
124 | endif() | 125 | endif() |
125 | 126 | ||
126 | # cipherstest | 127 | if(NOT BUILD_SHARED_LIBS) |
127 | add_executable(cipherstest cipherstest.c) | 128 | # cipherstest |
128 | target_link_libraries(cipherstest ${OPENSSL_LIBS}) | 129 | add_executable(cipherstest cipherstest.c) |
129 | add_test(cipherstest cipherstest) | 130 | target_link_libraries(cipherstest ${OPENSSL_LIBS}) |
131 | add_test(cipherstest cipherstest) | ||
132 | endif() | ||
130 | 133 | ||
131 | # clienttest | 134 | # clienttest |
132 | # disabled | 135 | # disabled |
@@ -144,6 +147,13 @@ add_executable(configtest configtest.c) | |||
144 | target_link_libraries(configtest ${OPENSSL_LIBS}) | 147 | target_link_libraries(configtest ${OPENSSL_LIBS}) |
145 | add_test(configtest configtest) | 148 | add_test(configtest configtest) |
146 | 149 | ||
150 | # constraints | ||
151 | if(NOT BUILD_SHARED_LIBS) | ||
152 | add_executable(constraints constraints.c) | ||
153 | target_link_libraries(constraints ${OPENSSL_LIBS}) | ||
154 | add_test(constraints constraints) | ||
155 | endif() | ||
156 | |||
147 | # cts128test | 157 | # cts128test |
148 | add_executable(cts128test cts128test.c) | 158 | add_executable(cts128test cts128test.c) |
149 | target_link_libraries(cts128test ${OPENSSL_LIBS}) | 159 | target_link_libraries(cts128test ${OPENSSL_LIBS}) |
@@ -533,6 +543,16 @@ add_executable(x25519test x25519test.c) | |||
533 | target_link_libraries(x25519test ${OPENSSL_LIBS}) | 543 | target_link_libraries(x25519test ${OPENSSL_LIBS}) |
534 | add_test(x25519test x25519test) | 544 | add_test(x25519test x25519test) |
535 | 545 | ||
546 | # x509attribute | ||
547 | add_executable(x509attribute x509attribute.c) | ||
548 | target_link_libraries(x509attribute ${OPENSSL_LIBS}) | ||
549 | add_test(x509attribute x509attribute) | ||
550 | |||
551 | # x509_info | ||
552 | add_executable(x509_info x509_info.c) | ||
553 | target_link_libraries(x509_info ${OPENSSL_LIBS}) | ||
554 | add_test(x509_info x509_info) | ||
555 | |||
536 | # x509name | 556 | # x509name |
537 | add_executable(x509name x509name.c) | 557 | add_executable(x509name x509name.c) |
538 | target_link_libraries(x509name ${OPENSSL_LIBS}) | 558 | target_link_libraries(x509name ${OPENSSL_LIBS}) |