aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore6
-rw-r--r--tests/CMakeLists.txt25
-rw-r--r--tests/Makefile.am25
3 files changed, 56 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 04cfc1e..2a2e1a2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -57,8 +57,13 @@ test-driver
57*.trs 57*.trs
58tests/aes_wrap* 58tests/aes_wrap*
59tests/arc4random_fork* 59tests/arc4random_fork*
60tests/asn1api*
61tests/asn1basic*
62tests/asn1complex*
63tests/asn1string_copy*
60tests/asn1evp* 64tests/asn1evp*
61tests/asn1time* 65tests/asn1time*
66tests/asn1x509*
62tests/bnaddsub* 67tests/bnaddsub*
63tests/bn_rand_interval* 68tests/bn_rand_interval*
64tests/bn_to_string* 69tests/bn_to_string*
@@ -89,6 +94,7 @@ tests/verify*
89tests/x509_info* 94tests/x509_info*
90tests/x509attribute* 95tests/x509attribute*
91tests/x509name* 96tests/x509name*
97tests/x509req_ext*
92!tests/optionstest.c 98!tests/optionstest.c
93!tests/*.test 99!tests/*.test
94tests/client.c 100tests/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)
33endif() 33endif()
34 34
35# asn1api
36add_executable(asn1api asn1api.c)
37target_link_libraries(asn1api ${OPENSSL_TEST_LIBS})
38add_test(asn1api asn1api)
39
40# asn1basic
41add_executable(asn1basic asn1basic.c)
42target_link_libraries(asn1basic ${OPENSSL_TEST_LIBS})
43add_test(asn1basic asn1basic)
44
45# asn1complex
46add_executable(asn1complex asn1complex.c)
47target_link_libraries(asn1complex ${OPENSSL_TEST_LIBS})
48add_test(asn1complex asn1complex)
49
35# asn1evp 50# asn1evp
36add_executable(asn1evp asn1evp.c) 51add_executable(asn1evp asn1evp.c)
37target_link_libraries(asn1evp ${OPENSSL_TEST_LIBS}) 52target_link_libraries(asn1evp ${OPENSSL_TEST_LIBS})
38add_test(asn1evp asn1evp) 53add_test(asn1evp asn1evp)
39 54
55# asn1string_copy
56add_executable(asn1string_copy asn1string_copy.c)
57target_link_libraries(asn1string_copy ${OPENSSL_TEST_LIBS})
58add_test(asn1string_copy asn1string_copy)
59
40# asn1test 60# asn1test
41add_executable(asn1test asn1test.c) 61add_executable(asn1test asn1test.c)
42target_link_libraries(asn1test ${OPENSSL_TEST_LIBS}) 62target_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}")
171endif() 191endif()
172 192
193# ec_asn1_test
194add_executable(ec_asn1_test ec_asn1_test.c)
195target_link_libraries(ec_asn1_test ${OPENSSL_TEST_LIBS})
196add_test(ec_asn1_test ec_asn1_test)
197
173# ec_point_conversion 198# ec_point_conversion
174add_executable(ec_point_conversion ec_point_conversion.c) 199add_executable(ec_point_conversion ec_point_conversion.c)
175target_link_libraries(ec_point_conversion ${OPENSSL_TEST_LIBS}) 200target_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
44endif 44endif
45EXTRA_DIST += arc4randomforktest.sh 45EXTRA_DIST += arc4randomforktest.sh
46 46
47# asn1api
48TESTS += asn1api
49check_PROGRAMS += asn1api
50asn1api_SOURCES = asn1api.c
51
52# asn1basic
53TESTS += asn1basic
54check_PROGRAMS += asn1basic
55asn1basic_SOURCES = asn1basic.c
56
57# asn1complex
58TESTS += asn1complex
59check_PROGRAMS += asn1complex
60asn1complex_SOURCES = asn1complex.c
61
47# asn1evp 62# asn1evp
48TESTS += asn1evp 63TESTS += asn1evp
49check_PROGRAMS += asn1evp 64check_PROGRAMS += asn1evp
50asn1evp_SOURCES = asn1evp.c 65asn1evp_SOURCES = asn1evp.c
51 66
67# asn1string_copy
68TESTS += asn1string_copy
69check_PROGRAMS += asn1string_copy
70asn1string_copy_SOURCES = asn1string_copy.c
71
52# asn1test 72# asn1test
53TESTS += asn1test 73TESTS += asn1test
54check_PROGRAMS += asn1test 74check_PROGRAMS += asn1test
@@ -182,6 +202,11 @@ dtlstest_SOURCES = dtlstest.c
182endif 202endif
183EXTRA_DIST += dtlstest.sh 203EXTRA_DIST += dtlstest.sh
184 204
205# ec_asn1_test
206TESTS += ec_asn1_test
207check_PROGRAMS += ec_asn1_test
208ec_asn1_test_SOURCES = ec_asn1_test.c
209
185# ec_point_conversion 210# ec_point_conversion
186TESTS += ec_point_conversion 211TESTS += ec_point_conversion
187check_PROGRAMS += ec_point_conversion 212check_PROGRAMS += ec_point_conversion