X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=3aa5e733c98227f4ba022a481cdd7b91c463e835;hb=3ae260799030954cd98730e4ff613af6b4ef6ae0;hp=26d2a406d35af488e2d46fc2be36755f78580068;hpb=863de1241ca76321388ccfe1d9a7e886d022cb58;p=openssl-gost%2Fengine.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 26d2a40..3aa5e73 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -138,6 +138,17 @@ target_link_libraries(test_grasshopper gost_engine gost_core ${OPENSSL_CRYPTO_LI add_test(NAME grasshopper COMMAND test_grasshopper) +add_executable(test_keyexpimp test_keyexpimp.c) +#target_compile_definitions(test_keyexpimp PUBLIC -DOPENSSL_LOAD_CONF) +target_link_libraries(test_keyexpimp gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) +add_test(NAME keyexpimp + COMMAND test_keyexpimp) + +add_executable(test_gost89 test_gost89.c) +target_link_libraries(test_gost89 gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) +add_test(NAME gost89 + COMMAND test_gost89) + add_test(NAME engine COMMAND perl run_tests WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test) @@ -164,11 +175,6 @@ set(GOST_12_SUM_SOURCE_FILES add_executable(gost12sum ${GOST_12_SUM_SOURCE_FILES}) target_link_libraries(gost12sum gost_core) -add_executable(unit_expimp gost_keyexpimp.c e_gost_err.c) -target_compile_definitions(unit_expimp PUBLIC -DENABLE_UNIT_TESTS) -target_compile_definitions(unit_expimp PUBLIC -DOPENSSL_LOAD_CONF) -target_link_libraries(unit_expimp PUBLIC ${OPENSSL_CRYPTO_LIBRARY}) - set_source_files_properties(tags PROPERTIES GENERATED true) add_custom_target(tags COMMAND ctags -R . ${OPENSSL_ROOT_DIR}