aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/CMakeLists.txt16
-rw-r--r--tests/Makefile.am20
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)
109target_link_libraries(bnaddsub ${OPENSSL_TEST_LIBS}) 110target_link_libraries(bnaddsub ${OPENSSL_TEST_LIBS})
110add_test(bnaddsub bnaddsub) 111add_test(bnaddsub bnaddsub)
111 112
113# bn_isqrt
114add_executable(bn_isqrt bn_isqrt.c)
115target_link_libraries(bn_isqrt ${OPENSSL_TEST_LIBS})
116add_test(bn_isqrt bn_isqrt)
117
112# bn_mod_exp2_mont 118# bn_mod_exp2_mont
113add_executable(bn_mod_exp2_mont bn_mod_exp2_mont.c) 119add_executable(bn_mod_exp2_mont bn_mod_exp2_mont.c)
114target_link_libraries(bn_mod_exp2_mont ${OPENSSL_TEST_LIBS}) 120target_link_libraries(bn_mod_exp2_mont ${OPENSSL_TEST_LIBS})
@@ -119,6 +125,11 @@ add_executable(bn_mod_sqrt bn_mod_sqrt.c)
119target_link_libraries(bn_mod_sqrt ${OPENSSL_TEST_LIBS}) 125target_link_libraries(bn_mod_sqrt ${OPENSSL_TEST_LIBS})
120add_test(bn_mod_sqrt bn_mod_sqrt) 126add_test(bn_mod_sqrt bn_mod_sqrt)
121 127
128# bn_primes
129add_executable(bn_primes bn_primes.c)
130target_link_libraries(bn_primes ${OPENSSL_TEST_LIBS})
131add_test(bn_primes bn_primes)
132
122# bn_rand_interval 133# bn_rand_interval
123add_executable(bn_rand_interval bn_rand_interval.c) 134add_executable(bn_rand_interval bn_rand_interval.c)
124target_link_libraries(bn_rand_interval ${OPENSSL_TEST_LIBS}) 135target_link_libraries(bn_rand_interval ${OPENSSL_TEST_LIBS})
@@ -499,6 +510,11 @@ add_executable(ssl_methods ssl_methods.c)
499target_link_libraries(ssl_methods ${OPENSSL_TEST_LIBS}) 510target_link_libraries(ssl_methods ${OPENSSL_TEST_LIBS})
500add_test(ssl_methods ssl_methods) 511add_test(ssl_methods ssl_methods)
501 512
513# ssl_set_alpn_protos
514add_executable(ssl_set_alpn_protos ssl_set_alpn_protos.c)
515target_link_libraries(ssl_set_alpn_protos ${OPENSSL_TEST_LIBS})
516add_test(ssl_set_alpn_protos ssl_set_alpn_protos)
517
502# ssl_versions 518# ssl_versions
503add_executable(ssl_versions ssl_versions.c) 519add_executable(ssl_versions ssl_versions.c)
504target_link_libraries(ssl_versions ${OPENSSL_TEST_LIBS}) 520target_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
122biotest_SOURCES = biotest.c 122biotest_SOURCES = biotest.c
123endif 123endif
124 124
125# bn_primes
126TESTS += bn_primes
127check_PROGRAMS += bn_primes
128bn_primes_SOURCES = bn_primes.c
129
130# bnaddsub 125# bnaddsub
131TESTS += bnaddsub 126TESTS += bnaddsub
132check_PROGRAMS += bnaddsub 127check_PROGRAMS += bnaddsub
133bnaddsub_SOURCES = bnaddsub.c 128bnaddsub_SOURCES = bnaddsub.c
134 129
130# bn_isqrt
131TESTS += bn_isqrt
132check_PROGRAMS += bn_isqrt
133bn_isqrt_SOURCES = bn_isqrt.c
134
135# bn_mod_exp2_mont 135# bn_mod_exp2_mont
136TESTS += bn_mod_exp2_mont 136TESTS += bn_mod_exp2_mont
137check_PROGRAMS += bn_mod_exp2_mont 137check_PROGRAMS += bn_mod_exp2_mont
@@ -142,6 +142,11 @@ TESTS += bn_mod_sqrt
142check_PROGRAMS += bn_mod_sqrt 142check_PROGRAMS += bn_mod_sqrt
143bn_mod_sqrt_SOURCES = bn_mod_sqrt.c 143bn_mod_sqrt_SOURCES = bn_mod_sqrt.c
144 144
145# bn_primes
146TESTS += bn_primes
147check_PROGRAMS += bn_primes
148bn_primes_SOURCES = bn_primes.c
149
145# bn_rand_interval 150# bn_rand_interval
146TESTS += bn_rand_interval 151TESTS += bn_rand_interval
147check_PROGRAMS += bn_rand_interval 152check_PROGRAMS += bn_rand_interval
@@ -513,6 +518,11 @@ TESTS += ssl_methods
513check_PROGRAMS += ssl_methods 518check_PROGRAMS += ssl_methods
514ssl_methods_SOURCES = ssl_methods.c 519ssl_methods_SOURCES = ssl_methods.c
515 520
521# ssl_set_alpn_protos
522TESTS += ssl_set_alpn_protos
523check_PROGRAMS += ssl_set_alpn_protos
524ssl_set_alpn_protos_SOURCES = ssl_set_alpn_protos.c
525
516# ssl_versions 526# ssl_versions
517TESTS += ssl_versions 527TESTS += ssl_versions
518check_PROGRAMS += ssl_versions 528check_PROGRAMS += ssl_versions