Disable installation of test files.
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -122,7 +122,6 @@ function(add_rocthrust_test TEST)
         )
         set_property(GLOBAL APPEND PROPERTY ROCTHRUST_TEST_TARGET_RESOURCE_PAIRS "${TEST_TARGET}|${DEFAULT_GPU_RESOURCE}")
     endif()
-    rocm_install(TARGETS ${TEST_TARGET} COMPONENT tests)
     if (WIN32 AND NOT DEFINED DLLS_COPIED)
       set(DLLS_COPIED "YES")
       set(DLLS_COPIED ${DLLS_COPIED} PARENT_SCOPE)
@@ -378,24 +377,7 @@ else()
     )
 endif()
 
-rocm_install(
-    FILES "${INSTALL_TEST_FILE}"
-    DESTINATION "${CMAKE_INSTALL_BINDIR}/${PROJECT_NAME}"
-    COMPONENT tests
-    RENAME "CTestTestfile.cmake"
-)
-
 # Build the executable used for generating the resource spec file.
 add_executable(generate_resource_spec ${CMAKE_SOURCE_DIR}/test/generate_resource_spec.cpp)
 set_target_properties(generate_resource_spec PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
 target_link_libraries(generate_resource_spec PRIVATE hip::host)
-
-# Install the executable using the standard install command instead of rocm_install
-# since we want to put it in a custom DESTINATION (rocm_install does not support
-# the DESTINATION option for TARGETS).
-set_property(TARGET generate_resource_spec APPEND PROPERTY INSTALL_RPATH "$ORIGIN/../../lib")
-install(
-    TARGETS generate_resource_spec
-    DESTINATION "${CMAKE_INSTALL_BINDIR}/${PROJECT_NAME}"
-    COMPONENT tests
-)
--- a/testing/CMakeLists.txt
+++ b/testing/CMakeLists.txt
@@ -143,7 +143,6 @@ function(add_thrust_test TEST)
                 LABELS upstream
         )
     endif()
-    rocm_install(TARGETS ${TEST_TARGET} COMPONENT tests)
 
     # Check for per-test script. Script will be included in the current scope
     # to allow custom property modifications.
