Skip to content

Commit

Permalink
Rename test/example targets to match conventions.
Browse files Browse the repository at this point in the history
  • Loading branch information
alliepiper committed Oct 11, 2024
1 parent 8e303ec commit 7d7a696
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cudax/examples/stf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function(cudax_add_stf_example target_name_var source cn_target)
endif()
string(REPLACE "/" "." example_name "stf/${filename}")

set(example_target ${config_prefix}.examples.${example_name})
set(example_target ${config_prefix}.example.${example_name})

add_executable(${example_target} ${source})
cccl_configure_target(${example_target} DIALECT ${config_dialect})
Expand Down
4 changes: 2 additions & 2 deletions cudax/test/stf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function(cudax_add_stf_test target_name_var source cn_target)
endif()
string(REPLACE "/" "." test_name "${filename}")

set(test_target ${config_prefix}.tests.stf.${test_name})
set(test_target ${config_prefix}.test.stf.${test_name})

add_executable(${test_target} ${source})
cccl_configure_target(${test_target} DIALECT ${config_dialect})
Expand Down Expand Up @@ -229,7 +229,7 @@ function(cudax_add_stf_unittest_header target_name_var source cn_target)

string(REPLACE "cuda/experimental/" "" test_label "${relative_path}/${filename}")
string(REPLACE "/" "." test_label "${test_label}")
set(test_target "${config_prefix}.tests.stf.unittest_headers.${test_label}")
set(test_target "${config_prefix}.test.stf.unittest_headers.${test_label}")

set(ut_template "${cudax_SOURCE_DIR}/cmake/stf_header_unittest.in.cu")
set(ut_source "${cudax_BINARY_DIR}/unittest_headers/${test_target}.cu")
Expand Down

0 comments on commit 7d7a696

Please sign in to comment.