diff options
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) |
