cmake: Fix setting up cwrap for server testing
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Этот коммит содержится в:
родитель
4ab0fb2b48
Коммит
ea4f71721f
@ -43,7 +43,7 @@ set(TEST_TARGET_LIBRARIES
|
|||||||
|
|
||||||
add_subdirectory(unittests)
|
add_subdirectory(unittests)
|
||||||
|
|
||||||
if (CLIENT_TESTING)
|
if (CLIENT_TESTING OR SERVER_TESTING)
|
||||||
find_package(socket_wrapper 1.1.5 REQUIRED)
|
find_package(socket_wrapper 1.1.5 REQUIRED)
|
||||||
find_package(nss_wrapper 1.1.2 REQUIRED)
|
find_package(nss_wrapper 1.1.2 REQUIRED)
|
||||||
find_package(uid_wrapper 1.2.0 REQUIRED)
|
find_package(uid_wrapper 1.2.0 REQUIRED)
|
||||||
@ -135,18 +135,20 @@ if (CLIENT_TESTING)
|
|||||||
file(COPY keys/certauth/id_rsa-cert.pub DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/home/bob/.ssh_cert/ FILE_PERMISSIONS OWNER_READ OWNER_WRITE)
|
file(COPY keys/certauth/id_rsa-cert.pub DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/home/bob/.ssh_cert/ FILE_PERMISSIONS OWNER_READ OWNER_WRITE)
|
||||||
|
|
||||||
message(STATUS "TORTURE_ENVIRONMENT=${TORTURE_ENVIRONMENT}")
|
message(STATUS "TORTURE_ENVIRONMENT=${TORTURE_ENVIRONMENT}")
|
||||||
|
endif ()
|
||||||
add_subdirectory(client)
|
|
||||||
endif (CLIENT_TESTING)
|
|
||||||
|
|
||||||
if (WITH_BENCHMARKS)
|
if (WITH_BENCHMARKS)
|
||||||
add_subdirectory(benchmarks)
|
add_subdirectory(benchmarks)
|
||||||
endif (WITH_BENCHMARKS)
|
endif ()
|
||||||
|
|
||||||
|
if (CLIENT_TESTING)
|
||||||
|
add_subdirectory(client)
|
||||||
|
endif ()
|
||||||
|
|
||||||
if (WITH_SERVER AND SERVER_TESTING)
|
if (WITH_SERVER AND SERVER_TESTING)
|
||||||
add_subdirectory(pkd)
|
add_subdirectory(pkd)
|
||||||
add_subdirectory(server)
|
add_subdirectory(server)
|
||||||
endif (WITH_SERVER AND SERVER_TESTING)
|
endif ()
|
||||||
|
|
||||||
if (FUZZ_TESTING)
|
if (FUZZ_TESTING)
|
||||||
add_subdirectory(fuzz)
|
add_subdirectory(fuzz)
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user