From 5d686726ec5f3e55236bfdc4869138dc3a0c5f3b Mon Sep 17 00:00:00 2001 From: kinichiro Date: Thu, 13 Jun 2019 10:15:28 +0900 Subject: Add regress bn_to_string --- tests/CMakeLists.txt | 7 +++++++ tests/Makefile.am | 5 +++++ 2 files changed, 12 insertions(+) (limited to 'tests') 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) add_test(bntest bntest) endif() +# bn_to_string +if(NOT BUILD_SHARED_LIBS) + add_executable(bn_to_string bn_to_string.c) + target_link_libraries(bn_to_string ${OPENSSL_LIBS}) + add_test(bn_to_string bn_to_string) +endif() + # buffertest if(NOT BUILD_SHARED_LIBS) 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 check_PROGRAMS += bntest bntest_SOURCES = bntest.c +# bn_to_string +TESTS += bn_to_string +check_PROGRAMS += bn_to_string +bn_to_string_SOURCES = bn_to_string.c + # buffertest TESTS += buffertest buffertest_CPPFLAGS = $(AM_CPPFLAGS) -- cgit v1.2.3-55-g6feb