Skip to content

Commit

Permalink
Restore incorrectly removed rocm_install (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
lawruble13 committed Oct 12, 2022
1 parent e28cf2a commit ce87098
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ function(add_relative_test test_name test_target)
endif()
file(RELATIVE_PATH rel_path "${CMAKE_CURRENT_BINARY_DIR}" "${EXE_PATH}/${EXE_NAME}")
add_test(NAME "${test_name}" COMMAND "./${rel_path}")
rocm_install(TARGETS ${test_target} COMPONENT tests)
file(APPEND "${INSTALL_TEST_FILE}" "add_test(${test_name} \"../${EXE_NAME}\")\n")
endfunction()

Expand Down

0 comments on commit ce87098

Please sign in to comment.