mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
tests: Move client tests to a seperate directory.
Tests which require a running sshd should go to tests/client.
This commit is contained in:
@@ -17,3 +17,6 @@ target_link_libraries(${TORTURE_LIBRARY} ${CHECK_LIBRARIES} ${LIBSSH_STATIC_LIBR
|
||||
set(TEST_TARGET_LIBRARIES ${SUPPORT_LIBRARY} ${LIBSSH_LINK_LIBRARIES})
|
||||
|
||||
add_subdirectory(unittests)
|
||||
if (WITH_CLIENT_TESTING)
|
||||
add_subdirectory(client)
|
||||
endif (WITH_CLIENT_TESTING)
|
||||
|
||||
4
tests/client/CMakeLists.txt
Normal file
4
tests/client/CMakeLists.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
project(clienttests C)
|
||||
|
||||
add_check_test(torture_algorithms torture_algorithms.c ${TORTURE_LIBRARY})
|
||||
add_check_test(torture_auth torture_auth.c ${TORTURE_LIBRARY})
|
||||
@@ -1,10 +1,8 @@
|
||||
project(unittests C)
|
||||
|
||||
add_check_test(torture_algorithms torture_algorithms.c ${TORTURE_LIBRARY})
|
||||
add_check_test(torture_init torture_init.c ${TORTURE_LIBRARY})
|
||||
add_check_test(torture_list torture_list.c ${TORTURE_LIBRARY})
|
||||
add_check_test(torture_misc torture_misc.c ${TORTURE_LIBRARY})
|
||||
add_check_test(torture_auth torture_auth.c ${TORTURE_LIBRARY})
|
||||
add_check_test(torture_keyfiles torture_keyfiles.c ${TORTURE_LIBRARY})
|
||||
add_check_test(torture_options torture_options.c ${TORTURE_LIBRARY})
|
||||
add_check_test(torture_knownhosts torture_knownhosts.c ${TORTURE_LIBRARY})
|
||||
|
||||
Reference in New Issue
Block a user