diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 7 | ||||
| -rw-r--r-- | tests/Makefile.am | 6 |
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) |
| 86 | endif() | 86 | endif() |
| 87 | 87 | ||
| 88 | # buffertest | ||
| 89 | if(NOT BUILD_SHARED_LIBS) | ||
| 90 | add_executable(buffertest buffertest.c) | ||
| 91 | target_link_libraries(buffertest ${OPENSSL_LIBS}) | ||
| 92 | add_test(buffertest buffertest) | ||
| 93 | endif() | ||
| 94 | |||
| 88 | # bytestringtest | 95 | # bytestringtest |
| 89 | if(NOT BUILD_SHARED_LIBS) | 96 | if(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 | |||
| 93 | check_PROGRAMS += bntest | 93 | check_PROGRAMS += bntest |
| 94 | bntest_SOURCES = bntest.c | 94 | bntest_SOURCES = bntest.c |
| 95 | 95 | ||
| 96 | # buffertest | ||
| 97 | TESTS += buffertest | ||
| 98 | buffertest_CPPFLAGS = $(AM_CPPFLAGS) | ||
| 99 | check_PROGRAMS += buffertest | ||
| 100 | buffertest_SOURCES = buffertest.c | ||
| 101 | |||
| 96 | # bytestringtest | 102 | # bytestringtest |
| 97 | TESTS += bytestringtest | 103 | TESTS += bytestringtest |
| 98 | check_PROGRAMS += bytestringtest | 104 | check_PROGRAMS += bytestringtest |
