Link lhash_test to build

This commit is contained in:
Theo Buehler
2024-05-06 11:03:08 -06:00
parent 3f0218f4b3
commit 1892ae76df
3 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@@ -115,6 +115,7 @@ tests/explicit_bzero*
tests/freenull*
tests/gost2814789t*
tests/key_schedule*
tests/lhash_test*
tests/mont*
tests/policy*
tests/rfc3779*

View File

@@ -467,6 +467,11 @@ add_test(keypairtest keypairtest
${CMAKE_CURRENT_SOURCE_DIR}/server1-rsa.pem
${CMAKE_CURRENT_SOURCE_DIR}/server1-rsa.pem)
# lhash_test
add_executable(lhash_test lhash_test.c)
target_link_libraries(lhash_test ${OPENSSL_TEST_LIBS})
add_test(lhash_test lhash_test)
# md_test
add_executable(md_test md_test.c)
target_link_libraries(md_test ${OPENSSL_TEST_LIBS})

View File

@@ -484,6 +484,11 @@ check_PROGRAMS += keypairtest
keypairtest_SOURCES = keypairtest.c
EXTRA_DIST += keypairtest.sh
# lhash_test
TESTS += lhash_test
check_PROGRAMS += lhash_test
lhash_test_SOURCES = lhash_test.c
# md_test
TESTS += md_test
check_PROGRAMS += md_test