aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2018-08-03 22:26:37 -0500
committerBrent Cook <bcook@openbsd.org>2018-08-03 22:26:37 -0500
commit62f96a5d3c6d5438fa9fd3f1022131e2ebdcaecf (patch)
tree1a9c1d27578c83c4d7f157bdca3842807ee8b8eb
parente82a6cb6614b366ee54efa83920e45c625d23e69 (diff)
parentd259acbd325761f791030a2aa04410f65057ef10 (diff)
downloadportable-62f96a5d3c6d5438fa9fd3f1022131e2ebdcaecf.tar.gz
portable-62f96a5d3c6d5438fa9fd3f1022131e2ebdcaecf.tar.bz2
portable-62f96a5d3c6d5438fa9fd3f1022131e2ebdcaecf.zip
Land #433, Add regress bnaddsub
-rw-r--r--.gitignore1
-rw-r--r--tests/CMakeLists.txt5
-rw-r--r--tests/Makefile.am5
3 files changed, 11 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 48a00e0..fb3efdf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -55,6 +55,7 @@ tests/aes_wrap*
55tests/arc4random_fork* 55tests/arc4random_fork*
56tests/asn1evp* 56tests/asn1evp*
57tests/asn1time* 57tests/asn1time*
58tests/bnaddsub*
58tests/cipher* 59tests/cipher*
59tests/explicit_bzero* 60tests/explicit_bzero*
60tests/freenull* 61tests/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)
65endif() 65endif()
66 66
67# bnaddsub
68add_executable(bnaddsub bnaddsub.c)
69target_link_libraries(bnaddsub ${OPENSSL_LIBS})
70add_test(bnaddsub bnaddsub)
71
67# bntest 72# bntest
68if(NOT BUILD_SHARED_LIBS) 73if(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
77biotest_SOURCES = biotest.c 77biotest_SOURCES = biotest.c
78endif 78endif
79 79
80# bnaddsub
81TESTS += bnaddsub
82check_PROGRAMS += bnaddsub
83bnaddsub_SOURCES = bnaddsub.c
84
80# bntest 85# bntest
81TESTS += bntest 86TESTS += bntest
82bntest_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL 87bntest_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL