We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e28cf2a commit ce87098Copy full SHA for ce87098
test/CMakeLists.txt
@@ -43,6 +43,7 @@ function(add_relative_test test_name test_target)
43
endif()
44
file(RELATIVE_PATH rel_path "${CMAKE_CURRENT_BINARY_DIR}" "${EXE_PATH}/${EXE_NAME}")
45
add_test(NAME "${test_name}" COMMAND "./${rel_path}")
46
+ rocm_install(TARGETS ${test_target} COMPONENT tests)
47
file(APPEND "${INSTALL_TEST_FILE}" "add_test(${test_name} \"../${EXE_NAME}\")\n")
48
endfunction()
49
0 commit comments