aboutsummaryrefslogtreecommitdiff
path: root/tests/unittests/CMakeLists.txt
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2018-07-04 13:55:24 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-08-03 16:43:03 +0200
commit5443863723964b0b7ea810f76e1abe170aa38e4e (patch)
tree9dc5be69af808294afb86e0f7ee4fbc034e7976e /tests/unittests/CMakeLists.txt
parentedcdef94eeb3d43ab61017ce3527976b012d2a13 (diff)
downloadlibssh-5443863723964b0b7ea810f76e1abe170aa38e4e.tar.gz
libssh-5443863723964b0b7ea810f76e1abe170aa38e4e.tar.xz
libssh-5443863723964b0b7ea810f76e1abe170aa38e4e.zip
tests: Add test for buffer running on threads
The test run buffer tests 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.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unittests/CMakeLists.txt b/tests/unittests/CMakeLists.txt
index aa67b033..e384f578 100644
--- a/tests/unittests/CMakeLists.txt
+++ b/tests/unittests/CMakeLists.txt
@@ -37,6 +37,9 @@ if (UNIX AND NOT WIN32)
target_link_libraries(torture_rand Threads::Threads)
add_cmocka_test(torture_threads_init torture_threads_init.c ${TORTURE_LIBRARY})
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)
+
# Not working correctly
#if (WITH_SERVER)
# add_cmocka_test(torture_server_x11 torture_server_x11.c ${TORTURE_LIBRARY})