diff options
| author | Brent Cook <bcook@openbsd.org> | 2018-08-03 22:26:37 -0500 |
|---|---|---|
| committer | Brent Cook <bcook@openbsd.org> | 2018-08-03 22:26:37 -0500 |
| commit | 62f96a5d3c6d5438fa9fd3f1022131e2ebdcaecf (patch) | |
| tree | 1a9c1d27578c83c4d7f157bdca3842807ee8b8eb | |
| parent | e82a6cb6614b366ee54efa83920e45c625d23e69 (diff) | |
| parent | d259acbd325761f791030a2aa04410f65057ef10 (diff) | |
| download | portable-62f96a5d3c6d5438fa9fd3f1022131e2ebdcaecf.tar.gz portable-62f96a5d3c6d5438fa9fd3f1022131e2ebdcaecf.tar.bz2 portable-62f96a5d3c6d5438fa9fd3f1022131e2ebdcaecf.zip | |
Land #433, Add regress bnaddsub
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | tests/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | tests/Makefile.am | 5 |
3 files changed, 11 insertions, 0 deletions
| @@ -55,6 +55,7 @@ tests/aes_wrap* | |||
| 55 | tests/arc4random_fork* | 55 | tests/arc4random_fork* |
| 56 | tests/asn1evp* | 56 | tests/asn1evp* |
| 57 | tests/asn1time* | 57 | tests/asn1time* |
| 58 | tests/bnaddsub* | ||
| 58 | tests/cipher* | 59 | tests/cipher* |
| 59 | tests/explicit_bzero* | 60 | tests/explicit_bzero* |
| 60 | tests/freenull* | 61 | tests/freenull* |
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3ef7b84..5aa87ee 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
| @@ -64,6 +64,11 @@ if(ENABLE_EXTRATESTS) | |||
| 64 | add_test(biotest biotest) | 64 | add_test(biotest biotest) |
| 65 | endif() | 65 | endif() |
| 66 | 66 | ||
| 67 | # bnaddsub | ||
| 68 | add_executable(bnaddsub bnaddsub.c) | ||
| 69 | target_link_libraries(bnaddsub ${OPENSSL_LIBS}) | ||
| 70 | add_test(bnaddsub bnaddsub) | ||
| 71 | |||
| 67 | # bntest | 72 | # bntest |
| 68 | if(NOT BUILD_SHARED_LIBS) | 73 | if(NOT BUILD_SHARED_LIBS) |
| 69 | add_executable(bntest bntest.c) | 74 | add_executable(bntest bntest.c) |
diff --git a/tests/Makefile.am b/tests/Makefile.am index 69d054d..045e361 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
| @@ -77,6 +77,11 @@ check_PROGRAMS += biotest | |||
| 77 | biotest_SOURCES = biotest.c | 77 | biotest_SOURCES = biotest.c |
| 78 | endif | 78 | endif |
| 79 | 79 | ||
| 80 | # bnaddsub | ||
| 81 | TESTS += bnaddsub | ||
| 82 | check_PROGRAMS += bnaddsub | ||
| 83 | bnaddsub_SOURCES = bnaddsub.c | ||
| 84 | |||
| 80 | # bntest | 85 | # bntest |
| 81 | TESTS += bntest | 86 | TESTS += bntest |
| 82 | bntest_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL | 87 | bntest_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL |
