Skip to content

Commit

Permalink
[CMake] Add XrdCl tests to CMake test target
Browse files Browse the repository at this point in the history
  • Loading branch information
amadio committed Mar 20, 2023
1 parent 672ec5f commit 9495def
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/XrdClTests/CMakeLists.txt
Expand Up @@ -45,6 +45,22 @@ target_link_libraries(
XrdClTestsHelper
XrdCl )

foreach(TEST_SUITE
# File
# FileCopy
# FileSystem
# LocalFileHandler
Poller
# PostMaster
Socket
# Threading
Utils
# Workflow
)
add_test(NAME XrdCl::${TEST_SUITE}
COMMAND $<TARGET_FILE:test-runner> $<TARGET_FILE:XrdClTests> "All Tests/${TEST_SUITE}Test")
endforeach()

#-------------------------------------------------------------------------------
# Install
#-------------------------------------------------------------------------------
Expand Down

0 comments on commit 9495def

Please sign in to comment.