Skip to content

Commit

Permalink
Merge pull request #6476 from m-diers/fixing_binary_filter_test_targe…
Browse files Browse the repository at this point in the history
…t_names

Fixing binary filter test target names
  • Loading branch information
hkaiser authored Apr 28, 2024
2 parents 80717da + 6830ce8 commit e977ecc
Show file tree
Hide file tree
Showing 9 changed files with 64 additions and 39 deletions.
29 changes: 18 additions & 11 deletions components/parcel_plugins/binary_filter/bzip2/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,41 +1,48 @@
# Copyright (c) 2019-2022 The STE||AR-Group
# Copyright (c) 2019-2024 The STE||AR-Group
#
# SPDX-License-Identifier: BSL-1.0
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

if(HPX_WITH_TESTS_UNIT)
add_hpx_pseudo_target(tests.unit.components.parcel_plugins.coalescing)
add_hpx_pseudo_target(
tests.unit.components.parcel_plugins.binary_filter.bzip2
)
add_hpx_pseudo_dependencies(
tests.unit.components tests.unit.components.parcel_plugins.coalescing
tests.unit.components
tests.unit.components.parcel_plugins.binary_filter.bzip2
)
add_subdirectory(unit)
endif()

if(HPX_WITH_TESTS_REGRESSIONS)
add_hpx_pseudo_target(tests.regressions.components.parcel_plugins.coalescing)
add_hpx_pseudo_target(
tests.regressions.components.parcel_plugins.binary_filter.bzip2
)
add_hpx_pseudo_dependencies(
tests.regressions.components
tests.regressions.components.parcel_plugins.coalescing
tests.regressions.components.parcel_plugins.binary_filter.bzip2
)
add_subdirectory(regressions)
endif()

if(HPX_WITH_TESTS_BENCHMARKS)
add_hpx_pseudo_target(tests.performance.components.parcel_plugins.coalescing)
add_hpx_pseudo_target(
tests.performance.components.parcel_plugins.binary_filter.bzip2
)
add_hpx_pseudo_dependencies(
tests.performance.components
tests.performance.components.parcel_plugins.coalescing
tests.performance.components.parcel_plugins.binary_filter.bzip2
)
add_subdirectory(performance)
endif()

if(HPX_WITH_TESTS_HEADERS)
add_hpx_header_tests(
"components.parcel_plugins.coalescing"
HEADERS ${parcel_coalescing_headers}
"components.parcel_plugins.binary_filter.bzip2"
HEADERS ${parcel_binary_filter_headers}
HEADER_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/include"
COMPONENT_DEPENDENCIES parcel_coalescing
EXCLUDE hpx/include/parcel_coalescing.hpp
COMPONENT_DEPENDENCIES parcel_binary_filter
EXCLUDE hpx/include/compression_bzip2.hpp
)
endif()
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ foreach(test ${tests})
)

add_hpx_regression_test(
"components.parcel_plugins.coalescing" ${test} ${${test}_PARAMETERS}
"components.parcel_plugins.binary_filter.bzip2" ${test}
${${test}_PARAMETERS}
)
endforeach()
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ foreach(test ${tests})
)

add_hpx_unit_test(
"components.parcel_plugins.coalescing" ${test} ${${test}_PARAMETERS}
"components.parcel_plugins.binary_filter.bzip2" ${test}
${${test}_PARAMETERS}
)
endforeach()
29 changes: 18 additions & 11 deletions components/parcel_plugins/binary_filter/snappy/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,41 +1,48 @@
# Copyright (c) 2019-2022 The STE||AR-Group
# Copyright (c) 2019-2024 The STE||AR-Group
#
# SPDX-License-Identifier: BSL-1.0
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

if(HPX_WITH_TESTS_UNIT)
add_hpx_pseudo_target(tests.unit.components.parcel_plugins.coalescing)
add_hpx_pseudo_target(
tests.unit.components.parcel_plugins.binary_filter.snappy
)
add_hpx_pseudo_dependencies(
tests.unit.components tests.unit.components.parcel_plugins.coalescing
tests.unit.components
tests.unit.components.parcel_plugins.binary_filter.snappy
)
add_subdirectory(unit)
endif()

if(HPX_WITH_TESTS_REGRESSIONS)
add_hpx_pseudo_target(tests.regressions.components.parcel_plugins.coalescing)
add_hpx_pseudo_target(
tests.regressions.components.parcel_plugins.binary_filter.snappy
)
add_hpx_pseudo_dependencies(
tests.regressions.components
tests.regressions.components.parcel_plugins.coalescing
tests.regressions.components.parcel_plugins.binary_filter.snappy
)
add_subdirectory(regressions)
endif()

if(HPX_WITH_TESTS_BENCHMARKS)
add_hpx_pseudo_target(tests.performance.components.parcel_plugins.coalescing)
add_hpx_pseudo_target(
tests.performance.components.parcel_plugins.binary_filter.snappy
)
add_hpx_pseudo_dependencies(
tests.performance.components
tests.performance.components.parcel_plugins.coalescing
tests.performance.components.parcel_plugins.binary_filter.snappy
)
add_subdirectory(performance)
endif()

if(HPX_WITH_TESTS_HEADERS)
add_hpx_header_tests(
"components.parcel_plugins.coalescing"
HEADERS ${parcel_coalescing_headers}
"components.parcel_plugins.binary_filter.snappy"
HEADERS ${parcel_binary_filter_headers}
HEADER_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/include"
COMPONENT_DEPENDENCIES parcel_coalescing
EXCLUDE hpx/include/parcel_coalescing.hpp
COMPONENT_DEPENDENCIES parcel_binary_filter
EXCLUDE hpx/include/compression_snappy.hpp
)
endif()
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ foreach(test ${tests})
)

add_hpx_regression_test(
"components.parcel_plugins.coalescing" ${test} ${${test}_PARAMETERS}
"components.parcel_plugins.binary_filter.snappy" ${test}
${${test}_PARAMETERS}
)
endforeach()
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ foreach(test ${tests})
)

add_hpx_unit_test(
"components.parcel_plugins.coalescing" ${test} ${${test}_PARAMETERS}
"components.parcel_plugins.binary_filter.snappy" ${test}
${${test}_PARAMETERS}
)
endforeach()
27 changes: 16 additions & 11 deletions components/parcel_plugins/binary_filter/zlib/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,41 +1,46 @@
# Copyright (c) 2019-2022 The STE||AR-Group
# Copyright (c) 2019-2024 The STE||AR-Group
#
# SPDX-License-Identifier: BSL-1.0
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

if(HPX_WITH_TESTS_UNIT)
add_hpx_pseudo_target(tests.unit.components.parcel_plugins.coalescing)
add_hpx_pseudo_target(tests.unit.components.parcel_plugins.binary_filter.zlib)
add_hpx_pseudo_dependencies(
tests.unit.components tests.unit.components.parcel_plugins.coalescing
tests.unit.components
tests.unit.components.parcel_plugins.binary_filter.zlib
)
add_subdirectory(unit)
endif()

if(HPX_WITH_TESTS_REGRESSIONS)
add_hpx_pseudo_target(tests.regressions.components.parcel_plugins.coalescing)
add_hpx_pseudo_target(
tests.regressions.components.parcel_plugins.binary_filter.zlib
)
add_hpx_pseudo_dependencies(
tests.regressions.components
tests.regressions.components.parcel_plugins.coalescing
tests.regressions.components.parcel_plugins.binary_filter.zlib
)
add_subdirectory(regressions)
endif()

if(HPX_WITH_TESTS_BENCHMARKS)
add_hpx_pseudo_target(tests.performance.components.parcel_plugins.coalescing)
add_hpx_pseudo_target(
tests.performance.components.parcel_plugins.binary_filter.zlib
)
add_hpx_pseudo_dependencies(
tests.performance.components
tests.performance.components.parcel_plugins.coalescing
tests.performance.components.parcel_plugins.binary_filter.zlib
)
add_subdirectory(performance)
endif()

if(HPX_WITH_TESTS_HEADERS)
add_hpx_header_tests(
"components.parcel_plugins.coalescing"
HEADERS ${parcel_coalescing_headers}
"components.parcel_plugins.binary_filter.zlib"
HEADERS ${parcel_binary_filter_headers}
HEADER_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/include"
COMPONENT_DEPENDENCIES parcel_coalescing
EXCLUDE hpx/include/parcel_coalescing.hpp
COMPONENT_DEPENDENCIES parcel_binary_filter
EXCLUDE hpx/include/compression_zlib.hpp
)
endif()
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ foreach(test ${tests})
)

add_hpx_regression_test(
"components.parcel_plugins.coalescing" ${test} ${${test}_PARAMETERS}
"components.parcel_plugins.binary_filter.zlib" ${test}
${${test}_PARAMETERS}
)
endforeach()
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ foreach(test ${tests})
)

add_hpx_unit_test(
"components.parcel_plugins.coalescing" ${test} ${${test}_PARAMETERS}
"components.parcel_plugins.binary_filter.zlib" ${test}
${${test}_PARAMETERS}
)
endforeach()

0 comments on commit e977ecc

Please sign in to comment.