aboutsummaryrefslogtreecommitdiff
path: root/tests/unittests/CMakeLists.txt
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2011-01-01 18:50:32 +0100
committerAndreas Schneider <asn@cynapses.org>2011-01-01 19:14:54 +0100
commit2945a42c756c608438cc7da9e329ee64ce14db1a (patch)
tree1c6bd0a218e15854a0a3c9a271e1ad62dce02ee7 /tests/unittests/CMakeLists.txt
parent1f47730a825c8fa077ebeac946352b9f477561e7 (diff)
downloadlibssh-2945a42c756c608438cc7da9e329ee64ce14db1a.tar.gz
libssh-2945a42c756c608438cc7da9e329ee64ce14db1a.tar.xz
libssh-2945a42c756c608438cc7da9e329ee64ce14db1a.zip
tests: Don't run torture_keyfiles on Windows.
This test needs ssh-keygen to be working.
Diffstat (limited to 'tests/unittests/CMakeLists.txt')
-rw-r--r--tests/unittests/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unittests/CMakeLists.txt b/tests/unittests/CMakeLists.txt
index e2e047b4..6dc68911 100644
--- a/tests/unittests/CMakeLists.txt
+++ b/tests/unittests/CMakeLists.txt
@@ -3,10 +3,12 @@ project(unittests C)
add_cmockery_test(torture_buffer torture_buffer.c ${TORTURE_LIBRARY})
add_cmockery_test(torture_callbacks torture_callbacks.c ${TORTURE_LIBRARY})
add_cmockery_test(torture_init torture_init.c ${TORTURE_LIBRARY})
-add_cmockery_test(torture_keyfiles torture_keyfiles.c ${TORTURE_LIBRARY})
add_cmockery_test(torture_list torture_list.c ${TORTURE_LIBRARY})
add_cmockery_test(torture_misc torture_misc.c ${TORTURE_LIBRARY})
add_cmockery_test(torture_options torture_options.c ${TORTURE_LIBRARY})
if (UNIX AND NOT WIN32)
+ # requires ssh-keygen
+ add_cmockery_test(torture_keyfiles torture_keyfiles.c ${TORTURE_LIBRARY})
+ # requires pthread
add_cmockery_test(torture_rand torture_rand.c ${TORTURE_LIBRARY})
endif (UNIX AND NOT WIN32)