From 1892ae76dfc41a7b2c10f4bb91868ffd2b6e6aca Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Mon, 6 May 2024 11:03:08 -0600 Subject: Link lhash_test to build --- .gitignore | 1 + tests/CMakeLists.txt | 5 +++++ tests/Makefile.am | 5 +++++ 3 files changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index 9e27a4e..0bc4f02 100644 --- a/.gitignore +++ b/.gitignore @@ -115,6 +115,7 @@ tests/explicit_bzero* tests/freenull* tests/gost2814789t* tests/key_schedule* +tests/lhash_test* tests/mont* tests/policy* tests/rfc3779* diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e1e4a9c..6861bd3 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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}) diff --git a/tests/Makefile.am b/tests/Makefile.am index 2f14f8f..57e2acf 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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 -- cgit v1.2.3-55-g6feb