aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt7
-rw-r--r--tests/Makefile.am6
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index d3113ab..8d2b73a 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)
86endif() 86endif()
87 87
88# buffertest
89if(NOT BUILD_SHARED_LIBS)
90 add_executable(buffertest buffertest.c)
91 target_link_libraries(buffertest ${OPENSSL_LIBS})
92 add_test(buffertest buffertest)
93endif()
94
88# bytestringtest 95# bytestringtest
89if(NOT BUILD_SHARED_LIBS) 96if(NOT BUILD_SHARED_LIBS)
90 add_executable(bytestringtest bytestringtest.c) 97 add_executable(bytestringtest bytestringtest.c)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 256eb44..e1879ad 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -93,6 +93,12 @@ bntest_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL
93check_PROGRAMS += bntest 93check_PROGRAMS += bntest
94bntest_SOURCES = bntest.c 94bntest_SOURCES = bntest.c
95 95
96# buffertest
97TESTS += buffertest
98buffertest_CPPFLAGS = $(AM_CPPFLAGS)
99check_PROGRAMS += buffertest
100buffertest_SOURCES = buffertest.c
101
96# bytestringtest 102# bytestringtest
97TESTS += bytestringtest 103TESTS += bytestringtest
98check_PROGRAMS += bytestringtest 104check_PROGRAMS += bytestringtest