Move Authz TLS test from fdbrpc/ to fdbrpc/tests
fdb_find_sources CMake command adds all sources directly under fdbrpc/, which would end up embedding the test binary into libfdbrpc.a Avoid this by placing the test binary under subdirectory fdbrpc/tests/
This commit is contained in:
parent
cc5105278d
commit
3180dc23f6
|
@ -81,9 +81,4 @@ if(WIN32)
|
|||
add_dependencies(fdbrpc_sampling_actors fdbrpc_actors)
|
||||
endif()
|
||||
|
||||
if(NOT WIN32)
|
||||
add_flow_target(EXECUTABLE NAME authz_tls_unittest SRCS AuthzTlsTest.actor.cpp)
|
||||
target_link_libraries(authz_tls_unittest PRIVATE flow fdbrpc fmt::fmt)
|
||||
add_test(NAME authorization_tls_unittest
|
||||
COMMAND $<TARGET_FILE:authz_tls_unittest>)
|
||||
endif()
|
||||
add_subdirectory(tests)
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
if(NOT WIN32)
|
||||
add_flow_target(EXECUTABLE NAME authz_tls_unittest SRCS AuthzTlsTest.actor.cpp)
|
||||
target_link_libraries(authz_tls_unittest PRIVATE flow fdbrpc fmt::fmt)
|
||||
add_test(NAME authorization_tls_unittest
|
||||
COMMAND $<TARGET_FILE:authz_tls_unittest>)
|
||||
endif()
|
Loading…
Reference in New Issue