diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2017-07-10 22:35:09 +0900 |
---|---|---|
committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2017-07-16 11:49:15 +0900 |
commit | f7cf93fd22d4f1003adfefc09488d31bcc1c7279 (patch) | |
tree | 1ce1dbe832c589a6b00c32d16922463522df29f2 | |
parent | cefd44a86ef5c96708382724d27a38d9364dc7ad (diff) | |
download | portable-f7cf93fd22d4f1003adfefc09488d31bcc1c7279.tar.gz portable-f7cf93fd22d4f1003adfefc09488d31bcc1c7279.tar.bz2 portable-f7cf93fd22d4f1003adfefc09488d31bcc1c7279.zip |
Add regression test freenull
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | tests/CMakeLists.txt | 5 | ||||
-rw-r--r-- | tests/Makefile.am | 6 |
3 files changed, 12 insertions, 0 deletions
@@ -55,6 +55,7 @@ tests/arc4random_fork* | |||
55 | tests/asn1time* | 55 | tests/asn1time* |
56 | tests/cipher* | 56 | tests/cipher* |
57 | tests/explicit_bzero* | 57 | tests/explicit_bzero* |
58 | tests/freenull* | ||
58 | tests/gost2814789t* | 59 | tests/gost2814789t* |
59 | tests/mont* | 60 | tests/mont* |
60 | tests/rfc5280time* | 61 | tests/rfc5280time* |
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e9c1360..0b68776 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
@@ -168,6 +168,11 @@ set_source_files_properties(exptest.c PROPERTIES COMPILE_FLAGS -ULIBRESSL_INTERN | |||
168 | target_link_libraries(exptest ${TESTS_LIBS}) | 168 | target_link_libraries(exptest ${TESTS_LIBS}) |
169 | add_test(exptest exptest) | 169 | add_test(exptest exptest) |
170 | 170 | ||
171 | # freenull | ||
172 | add_executable(freenull freenull.c) | ||
173 | target_link_libraries(freenull ${TESTS_LIBS}) | ||
174 | add_test(freenull freenull) | ||
175 | |||
171 | # gcm128test | 176 | # gcm128test |
172 | add_executable(gcm128test gcm128test.c) | 177 | add_executable(gcm128test gcm128test.c) |
173 | target_link_libraries(gcm128test ${TESTS_LIBS}) | 178 | target_link_libraries(gcm128test ${TESTS_LIBS}) |
diff --git a/tests/Makefile.am b/tests/Makefile.am index 624e597..ff2fd55 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
@@ -174,6 +174,12 @@ check_PROGRAMS += exptest | |||
174 | exptest_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL | 174 | exptest_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL |
175 | exptest_SOURCES = exptest.c | 175 | exptest_SOURCES = exptest.c |
176 | 176 | ||
177 | # freenull | ||
178 | TESTS += freenull | ||
179 | check_PROGRAMS += freenull | ||
180 | freenull_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL | ||
181 | freenull_SOURCES = freenull.c | ||
182 | |||
177 | # gcm128test | 183 | # gcm128test |
178 | TESTS += gcm128test | 184 | TESTS += gcm128test |
179 | check_PROGRAMS += gcm128test | 185 | check_PROGRAMS += gcm128test |