diff options
| author | Brent Cook <busterb@gmail.com> | 2019-01-18 17:13:36 -0600 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2019-01-18 17:13:36 -0600 |
| commit | e59ea94f623ff6e1aea79589228fcdebe809c97b (patch) | |
| tree | ae694fd23dc3437667e6d9fba4084ea1dcd36676 /tests | |
| parent | 7032d88bfd6a28e9ea72b08d14feb5775def3e2f (diff) | |
| download | portable-e59ea94f623ff6e1aea79589228fcdebe809c97b.tar.gz portable-e59ea94f623ff6e1aea79589228fcdebe809c97b.tar.bz2 portable-e59ea94f623ff6e1aea79589228fcdebe809c97b.zip | |
add tls13_[tlsext|buffer].* and buffertest
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 |
