Skip to content

Commit

Permalink
Tuple algorithm test was included in two places - making it it's own …
Browse files Browse the repository at this point in the history
…test.
  • Loading branch information
sean-parent committed Jan 28, 2025
1 parent c899478 commit 8e18490
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ add_executable(stlab.test.channel
channel_process_tests.cpp
channel_test_helper.cpp
channel_tests.cpp
tuple_algorithm_test.cpp
main.cpp
channel_test_helper.hpp)

Expand Down Expand Up @@ -97,7 +96,6 @@ add_executable(stlab.test.future
future_when_all_range_tests.cpp
future_when_any_arguments_tests.cpp
future_when_any_range_tests.cpp
tuple_algorithm_test.cpp
main.cpp
future_test_helper.hpp
future_reduction_tests.cpp)
Expand Down Expand Up @@ -130,6 +128,20 @@ add_test(
NAME stlab.test.serial_queue
COMMAND stlab.test.serial_queue
)
################################################################################

add_executable(stlab.test.tuple_algorithm
tuple_algorithm_test.cpp
main.cpp)

target_compile_definitions(stlab.test.tuple_algorithm PRIVATE STLAB_UNIT_TEST)

target_link_libraries(stlab.test.tuple_algorithm PUBLIC stlab::testing)

add_test(
NAME stlab.test.tuple_algorithm
COMMAND stlab.test.tuple_algorithm
)

################################################################################

Expand Down

0 comments on commit 8e18490

Please sign in to comment.