Add regress bnaddsub

This commit is contained in:
kinichiro 2018-07-11 17:10:16 +09:00
parent 1ea79d2a9f
commit d259acbd32
3 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@ -55,6 +55,7 @@ tests/aes_wrap*
tests/arc4random_fork*
tests/asn1evp*
tests/asn1time*
tests/bnaddsub*
tests/cipher*
tests/explicit_bzero*
tests/freenull*

View File

@ -64,6 +64,11 @@ if(ENABLE_EXTRATESTS)
add_test(biotest biotest)
endif()
# bnaddsub
add_executable(bnaddsub bnaddsub.c)
target_link_libraries(bnaddsub ${OPENSSL_LIBS})
add_test(bnaddsub bnaddsub)
# bntest
if(NOT BUILD_SHARED_LIBS)
add_executable(bntest bntest.c)

View File

@ -77,6 +77,11 @@ check_PROGRAMS += biotest
biotest_SOURCES = biotest.c
endif
# bnaddsub
TESTS += bnaddsub
check_PROGRAMS += bnaddsub
bnaddsub_SOURCES = bnaddsub.c
# bntest
TESTS += bntest
bntest_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL