]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Add perl test harness to CMakeLists to run on make test
authorVitaly Chikunov <vt@altlinux.org>
Tue, 24 Jul 2018 02:30:25 +0000 (05:30 +0300)
committerVitaly Chikunov <vt@altlinux.org>
Wed, 25 Jul 2018 08:00:00 +0000 (11:00 +0300)
CMakeLists.txt

index bed388af378a0b62cf876de55f51a2cde97c7fd2..24377523a1a9d8c24c4273fb3e52100b0bb2cb12 100644 (file)
@@ -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)