From: Vitaly Chikunov Date: Tue, 24 Jul 2018 02:30:25 +0000 (+0300) Subject: Add perl test harness to CMakeLists to run on make test X-Git-Tag: v3.0.0~399 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=1476de45543e8ff75ec591040b4da1df268c4d39;p=openssl-gost%2Fengine.git Add perl test harness to CMakeLists to run on make test --- diff --git a/CMakeLists.txt b/CMakeLists.txt index bed388a..2437752 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,6 +117,10 @@ target_link_libraries(test_grasshopper gost_engine gost_core ${OPENSSL_CRYPTO_LI add_test(NAME grasshopper COMMAND test_grasshopper) +add_test(NAME engine + COMMAND perl run_tests + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test) + add_library(gost_core STATIC ${GOST_LIB_SOURCE_FILES}) set_target_properties(gost_core PROPERTIES POSITION_INDEPENDENT_CODE ON)