diff options
-rw-r--r-- | tests/CMakeLists.txt | 16 | ||||
-rw-r--r-- | tests/Makefile.am | 20 |
2 files changed, 31 insertions, 5 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index efa6e04..eb1b79c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
@@ -4,6 +4,7 @@ include_directories( | |||
4 | . | 4 | . |
5 | ../crypto/asn1 | 5 | ../crypto/asn1 |
6 | ../crypto/bio | 6 | ../crypto/bio |
7 | ../crypto/bn | ||
7 | ../crypto/evp | 8 | ../crypto/evp |
8 | ../crypto/modes | 9 | ../crypto/modes |
9 | ../crypto/x509 | 10 | ../crypto/x509 |
@@ -109,6 +110,11 @@ add_executable(bnaddsub bnaddsub.c) | |||
109 | target_link_libraries(bnaddsub ${OPENSSL_TEST_LIBS}) | 110 | target_link_libraries(bnaddsub ${OPENSSL_TEST_LIBS}) |
110 | add_test(bnaddsub bnaddsub) | 111 | add_test(bnaddsub bnaddsub) |
111 | 112 | ||
113 | # bn_isqrt | ||
114 | add_executable(bn_isqrt bn_isqrt.c) | ||
115 | target_link_libraries(bn_isqrt ${OPENSSL_TEST_LIBS}) | ||
116 | add_test(bn_isqrt bn_isqrt) | ||
117 | |||
112 | # bn_mod_exp2_mont | 118 | # bn_mod_exp2_mont |
113 | add_executable(bn_mod_exp2_mont bn_mod_exp2_mont.c) | 119 | add_executable(bn_mod_exp2_mont bn_mod_exp2_mont.c) |
114 | target_link_libraries(bn_mod_exp2_mont ${OPENSSL_TEST_LIBS}) | 120 | target_link_libraries(bn_mod_exp2_mont ${OPENSSL_TEST_LIBS}) |
@@ -119,6 +125,11 @@ add_executable(bn_mod_sqrt bn_mod_sqrt.c) | |||
119 | target_link_libraries(bn_mod_sqrt ${OPENSSL_TEST_LIBS}) | 125 | target_link_libraries(bn_mod_sqrt ${OPENSSL_TEST_LIBS}) |
120 | add_test(bn_mod_sqrt bn_mod_sqrt) | 126 | add_test(bn_mod_sqrt bn_mod_sqrt) |
121 | 127 | ||
128 | # bn_primes | ||
129 | add_executable(bn_primes bn_primes.c) | ||
130 | target_link_libraries(bn_primes ${OPENSSL_TEST_LIBS}) | ||
131 | add_test(bn_primes bn_primes) | ||
132 | |||
122 | # bn_rand_interval | 133 | # bn_rand_interval |
123 | add_executable(bn_rand_interval bn_rand_interval.c) | 134 | add_executable(bn_rand_interval bn_rand_interval.c) |
124 | target_link_libraries(bn_rand_interval ${OPENSSL_TEST_LIBS}) | 135 | target_link_libraries(bn_rand_interval ${OPENSSL_TEST_LIBS}) |
@@ -499,6 +510,11 @@ add_executable(ssl_methods ssl_methods.c) | |||
499 | target_link_libraries(ssl_methods ${OPENSSL_TEST_LIBS}) | 510 | target_link_libraries(ssl_methods ${OPENSSL_TEST_LIBS}) |
500 | add_test(ssl_methods ssl_methods) | 511 | add_test(ssl_methods ssl_methods) |
501 | 512 | ||
513 | # ssl_set_alpn_protos | ||
514 | add_executable(ssl_set_alpn_protos ssl_set_alpn_protos.c) | ||
515 | target_link_libraries(ssl_set_alpn_protos ${OPENSSL_TEST_LIBS}) | ||
516 | add_test(ssl_set_alpn_protos ssl_set_alpn_protos) | ||
517 | |||
502 | # ssl_versions | 518 | # ssl_versions |
503 | add_executable(ssl_versions ssl_versions.c) | 519 | add_executable(ssl_versions ssl_versions.c) |
504 | target_link_libraries(ssl_versions ${OPENSSL_TEST_LIBS}) | 520 | target_link_libraries(ssl_versions ${OPENSSL_TEST_LIBS}) |
diff --git a/tests/Makefile.am b/tests/Makefile.am index 3be2f3f..79f10fb 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
@@ -122,16 +122,16 @@ check_PROGRAMS += biotest | |||
122 | biotest_SOURCES = biotest.c | 122 | biotest_SOURCES = biotest.c |
123 | endif | 123 | endif |
124 | 124 | ||
125 | # bn_primes | ||
126 | TESTS += bn_primes | ||
127 | check_PROGRAMS += bn_primes | ||
128 | bn_primes_SOURCES = bn_primes.c | ||
129 | |||
130 | # bnaddsub | 125 | # bnaddsub |
131 | TESTS += bnaddsub | 126 | TESTS += bnaddsub |
132 | check_PROGRAMS += bnaddsub | 127 | check_PROGRAMS += bnaddsub |
133 | bnaddsub_SOURCES = bnaddsub.c | 128 | bnaddsub_SOURCES = bnaddsub.c |
134 | 129 | ||
130 | # bn_isqrt | ||
131 | TESTS += bn_isqrt | ||
132 | check_PROGRAMS += bn_isqrt | ||
133 | bn_isqrt_SOURCES = bn_isqrt.c | ||
134 | |||
135 | # bn_mod_exp2_mont | 135 | # bn_mod_exp2_mont |
136 | TESTS += bn_mod_exp2_mont | 136 | TESTS += bn_mod_exp2_mont |
137 | check_PROGRAMS += bn_mod_exp2_mont | 137 | check_PROGRAMS += bn_mod_exp2_mont |
@@ -142,6 +142,11 @@ TESTS += bn_mod_sqrt | |||
142 | check_PROGRAMS += bn_mod_sqrt | 142 | check_PROGRAMS += bn_mod_sqrt |
143 | bn_mod_sqrt_SOURCES = bn_mod_sqrt.c | 143 | bn_mod_sqrt_SOURCES = bn_mod_sqrt.c |
144 | 144 | ||
145 | # bn_primes | ||
146 | TESTS += bn_primes | ||
147 | check_PROGRAMS += bn_primes | ||
148 | bn_primes_SOURCES = bn_primes.c | ||
149 | |||
145 | # bn_rand_interval | 150 | # bn_rand_interval |
146 | TESTS += bn_rand_interval | 151 | TESTS += bn_rand_interval |
147 | check_PROGRAMS += bn_rand_interval | 152 | check_PROGRAMS += bn_rand_interval |
@@ -513,6 +518,11 @@ TESTS += ssl_methods | |||
513 | check_PROGRAMS += ssl_methods | 518 | check_PROGRAMS += ssl_methods |
514 | ssl_methods_SOURCES = ssl_methods.c | 519 | ssl_methods_SOURCES = ssl_methods.c |
515 | 520 | ||
521 | # ssl_set_alpn_protos | ||
522 | TESTS += ssl_set_alpn_protos | ||
523 | check_PROGRAMS += ssl_set_alpn_protos | ||
524 | ssl_set_alpn_protos_SOURCES = ssl_set_alpn_protos.c | ||
525 | |||
516 | # ssl_versions | 526 | # ssl_versions |
517 | TESTS += ssl_versions | 527 | TESTS += ssl_versions |
518 | check_PROGRAMS += ssl_versions | 528 | check_PROGRAMS += ssl_versions |