aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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