aboutsummaryrefslogtreecommitdiff
path: root/tests/unittests/CMakeLists.txt
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2018-07-04 14:48:35 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-08-03 16:43:03 +0200
commitdd3d867452b8e358cb998527678a518ee5617ab1 (patch)
tree0f23b5588915f88f985394bfdaa65b076b1b8260 /tests/unittests/CMakeLists.txt
parent5443863723964b0b7ea810f76e1abe170aa38e4e (diff)
downloadlibssh-dd3d867452b8e358cb998527678a518ee5617ab1.tar.gz
libssh-dd3d867452b8e358cb998527678a518ee5617ab1.tar.xz
libssh-dd3d867452b8e358cb998527678a518ee5617ab1.zip
tests: Add test for crypto running on threads
The test run crypto test on multiple threads. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/unittests/CMakeLists.txt')
-rw-r--r--tests/unittests/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unittests/CMakeLists.txt b/tests/unittests/CMakeLists.txt
index e384f578..f8a7f467 100644
--- a/tests/unittests/CMakeLists.txt
+++ b/tests/unittests/CMakeLists.txt
@@ -39,6 +39,8 @@ if (UNIX AND NOT WIN32)
target_link_libraries(torture_threads_init Threads::Threads)
add_cmocka_test(torture_threads_buffer torture_threads_buffer.c ${TORTURE_LIBRARY})
target_link_libraries(torture_threads_buffer Threads::Threads)
+ add_cmocka_test(torture_threads_crypto torture_threads_crypto.c ${TORTURE_LIBRARY})
+ target_link_libraries(torture_threads_crypto Threads::Threads)
# Not working correctly
#if (WITH_SERVER)