diff options
| author | kinichiro <kinichiro.inoguchi@gmail.com> | 2019-06-13 10:15:28 +0900 |
|---|---|---|
| committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2019-06-13 10:15:28 +0900 |
| commit | 5d686726ec5f3e55236bfdc4869138dc3a0c5f3b (patch) | |
| tree | 8322fd37c3bdb3f26b8c6fcdbcd0c9494cf28128 /tests | |
| parent | 3e6d12d318f304393a8bbda13bedbbc1a46b7b69 (diff) | |
| download | portable-5d686726ec5f3e55236bfdc4869138dc3a0c5f3b.tar.gz portable-5d686726ec5f3e55236bfdc4869138dc3a0c5f3b.tar.bz2 portable-5d686726ec5f3e55236bfdc4869138dc3a0c5f3b.zip | |
Add regress bn_to_string
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 7 | ||||
| -rw-r--r-- | tests/Makefile.am | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 25e2352..00dcd8b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
| @@ -85,6 +85,13 @@ if(NOT BUILD_SHARED_LIBS) | |||
| 85 | add_test(bntest bntest) | 85 | add_test(bntest bntest) |
| 86 | endif() | 86 | endif() |
| 87 | 87 | ||
| 88 | # bn_to_string | ||
| 89 | if(NOT BUILD_SHARED_LIBS) | ||
| 90 | add_executable(bn_to_string bn_to_string.c) | ||
| 91 | target_link_libraries(bn_to_string ${OPENSSL_LIBS}) | ||
| 92 | add_test(bn_to_string bn_to_string) | ||
| 93 | endif() | ||
| 94 | |||
| 88 | # buffertest | 95 | # buffertest |
| 89 | if(NOT BUILD_SHARED_LIBS) | 96 | if(NOT BUILD_SHARED_LIBS) |
| 90 | add_executable(buffertest buffertest.c) | 97 | add_executable(buffertest buffertest.c) |
diff --git a/tests/Makefile.am b/tests/Makefile.am index bf1db36..e14257b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
| @@ -93,6 +93,11 @@ bntest_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL | |||
| 93 | check_PROGRAMS += bntest | 93 | check_PROGRAMS += bntest |
| 94 | bntest_SOURCES = bntest.c | 94 | bntest_SOURCES = bntest.c |
| 95 | 95 | ||
| 96 | # bn_to_string | ||
| 97 | TESTS += bn_to_string | ||
| 98 | check_PROGRAMS += bn_to_string | ||
| 99 | bn_to_string_SOURCES = bn_to_string.c | ||
| 100 | |||
| 96 | # buffertest | 101 | # buffertest |
| 97 | TESTS += buffertest | 102 | TESTS += buffertest |
| 98 | buffertest_CPPFLAGS = $(AM_CPPFLAGS) | 103 | buffertest_CPPFLAGS = $(AM_CPPFLAGS) |
