diff options
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | tests/CMakeLists.txt | 25 | ||||
-rw-r--r-- | tests/Makefile.am | 25 |
3 files changed, 56 insertions, 0 deletions
@@ -57,8 +57,13 @@ test-driver | |||
57 | *.trs | 57 | *.trs |
58 | tests/aes_wrap* | 58 | tests/aes_wrap* |
59 | tests/arc4random_fork* | 59 | tests/arc4random_fork* |
60 | tests/asn1api* | ||
61 | tests/asn1basic* | ||
62 | tests/asn1complex* | ||
63 | tests/asn1string_copy* | ||
60 | tests/asn1evp* | 64 | tests/asn1evp* |
61 | tests/asn1time* | 65 | tests/asn1time* |
66 | tests/asn1x509* | ||
62 | tests/bnaddsub* | 67 | tests/bnaddsub* |
63 | tests/bn_rand_interval* | 68 | tests/bn_rand_interval* |
64 | tests/bn_to_string* | 69 | tests/bn_to_string* |
@@ -89,6 +94,7 @@ tests/verify* | |||
89 | tests/x509_info* | 94 | tests/x509_info* |
90 | tests/x509attribute* | 95 | tests/x509attribute* |
91 | tests/x509name* | 96 | tests/x509name* |
97 | tests/x509req_ext* | ||
92 | !tests/optionstest.c | 98 | !tests/optionstest.c |
93 | !tests/*.test | 99 | !tests/*.test |
94 | tests/client.c | 100 | tests/client.c |
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 5b9652e..0ddbc74 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
@@ -32,11 +32,31 @@ if(NOT (WIN32 OR (CMAKE_SYSTEM_NAME MATCHES "MINGW"))) | |||
32 | add_test(arc4randomforktest ${CMAKE_CURRENT_SOURCE_DIR}/arc4randomforktest.sh) | 32 | add_test(arc4randomforktest ${CMAKE_CURRENT_SOURCE_DIR}/arc4randomforktest.sh) |
33 | endif() | 33 | endif() |
34 | 34 | ||
35 | # asn1api | ||
36 | add_executable(asn1api asn1api.c) | ||
37 | target_link_libraries(asn1api ${OPENSSL_TEST_LIBS}) | ||
38 | add_test(asn1api asn1api) | ||
39 | |||
40 | # asn1basic | ||
41 | add_executable(asn1basic asn1basic.c) | ||
42 | target_link_libraries(asn1basic ${OPENSSL_TEST_LIBS}) | ||
43 | add_test(asn1basic asn1basic) | ||
44 | |||
45 | # asn1complex | ||
46 | add_executable(asn1complex asn1complex.c) | ||
47 | target_link_libraries(asn1complex ${OPENSSL_TEST_LIBS}) | ||
48 | add_test(asn1complex asn1complex) | ||
49 | |||
35 | # asn1evp | 50 | # asn1evp |
36 | add_executable(asn1evp asn1evp.c) | 51 | add_executable(asn1evp asn1evp.c) |
37 | target_link_libraries(asn1evp ${OPENSSL_TEST_LIBS}) | 52 | target_link_libraries(asn1evp ${OPENSSL_TEST_LIBS}) |
38 | add_test(asn1evp asn1evp) | 53 | add_test(asn1evp asn1evp) |
39 | 54 | ||
55 | # asn1string_copy | ||
56 | add_executable(asn1string_copy asn1string_copy.c) | ||
57 | target_link_libraries(asn1string_copy ${OPENSSL_TEST_LIBS}) | ||
58 | add_test(asn1string_copy asn1string_copy) | ||
59 | |||
40 | # asn1test | 60 | # asn1test |
41 | add_executable(asn1test asn1test.c) | 61 | add_executable(asn1test asn1test.c) |
42 | target_link_libraries(asn1test ${OPENSSL_TEST_LIBS}) | 62 | target_link_libraries(asn1test ${OPENSSL_TEST_LIBS}) |
@@ -170,6 +190,11 @@ if(NOT WIN32) | |||
170 | set_tests_properties(dtlstest PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_DIR}") | 190 | set_tests_properties(dtlstest PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_DIR}") |
171 | endif() | 191 | endif() |
172 | 192 | ||
193 | # ec_asn1_test | ||
194 | add_executable(ec_asn1_test ec_asn1_test.c) | ||
195 | target_link_libraries(ec_asn1_test ${OPENSSL_TEST_LIBS}) | ||
196 | add_test(ec_asn1_test ec_asn1_test) | ||
197 | |||
173 | # ec_point_conversion | 198 | # ec_point_conversion |
174 | add_executable(ec_point_conversion ec_point_conversion.c) | 199 | add_executable(ec_point_conversion ec_point_conversion.c) |
175 | target_link_libraries(ec_point_conversion ${OPENSSL_TEST_LIBS}) | 200 | target_link_libraries(ec_point_conversion ${OPENSSL_TEST_LIBS}) |
diff --git a/tests/Makefile.am b/tests/Makefile.am index ec87028..eb10eec 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
@@ -44,11 +44,31 @@ arc4randomforktest_SOURCES = arc4randomforktest.c | |||
44 | endif | 44 | endif |
45 | EXTRA_DIST += arc4randomforktest.sh | 45 | EXTRA_DIST += arc4randomforktest.sh |
46 | 46 | ||
47 | # asn1api | ||
48 | TESTS += asn1api | ||
49 | check_PROGRAMS += asn1api | ||
50 | asn1api_SOURCES = asn1api.c | ||
51 | |||
52 | # asn1basic | ||
53 | TESTS += asn1basic | ||
54 | check_PROGRAMS += asn1basic | ||
55 | asn1basic_SOURCES = asn1basic.c | ||
56 | |||
57 | # asn1complex | ||
58 | TESTS += asn1complex | ||
59 | check_PROGRAMS += asn1complex | ||
60 | asn1complex_SOURCES = asn1complex.c | ||
61 | |||
47 | # asn1evp | 62 | # asn1evp |
48 | TESTS += asn1evp | 63 | TESTS += asn1evp |
49 | check_PROGRAMS += asn1evp | 64 | check_PROGRAMS += asn1evp |
50 | asn1evp_SOURCES = asn1evp.c | 65 | asn1evp_SOURCES = asn1evp.c |
51 | 66 | ||
67 | # asn1string_copy | ||
68 | TESTS += asn1string_copy | ||
69 | check_PROGRAMS += asn1string_copy | ||
70 | asn1string_copy_SOURCES = asn1string_copy.c | ||
71 | |||
52 | # asn1test | 72 | # asn1test |
53 | TESTS += asn1test | 73 | TESTS += asn1test |
54 | check_PROGRAMS += asn1test | 74 | check_PROGRAMS += asn1test |
@@ -182,6 +202,11 @@ dtlstest_SOURCES = dtlstest.c | |||
182 | endif | 202 | endif |
183 | EXTRA_DIST += dtlstest.sh | 203 | EXTRA_DIST += dtlstest.sh |
184 | 204 | ||
205 | # ec_asn1_test | ||
206 | TESTS += ec_asn1_test | ||
207 | check_PROGRAMS += ec_asn1_test | ||
208 | ec_asn1_test_SOURCES = ec_asn1_test.c | ||
209 | |||
185 | # ec_point_conversion | 210 | # ec_point_conversion |
186 | TESTS += ec_point_conversion | 211 | TESTS += ec_point_conversion |
187 | check_PROGRAMS += ec_point_conversion | 212 | check_PROGRAMS += ec_point_conversion |