SWDEV-379678 - Remove catch build option

Change-Id: Idedf5e61da1e6c7fbdd9a65e57220875a3b24112
This commit is contained in:
Rahul Garg
2023-01-26 23:48:49 +00:00
orang tua b251c8fdb2
melakukan 118e7144f8
+1 -3
Melihat File
@@ -447,9 +447,7 @@ if(${RUN_HIT} EQUAL 0)
execute_process(COMMAND "${CMAKE_COMMAND}" -E copy_directory "${HIP_COMMON_BIN_DIR}" "${HIP_ROOT_DIR}/bin" RESULT_VARIABLE RUN_HIT ERROR_QUIET)
endif()
if(HIP_CATCH_TEST EQUAL "1")
enable_testing()
set(HIP_PATH ${HIP_ROOT_DIR})
add_subdirectory(${HIP_COMMON_DIR}/tests/catch ${PROJECT_BINARY_DIR}/catch)
message(STATUS "Building of catch tests through hipamd is no longer supported. Testing targets will not be available. catch tests have been moved to an independent github project hip-tests. Please refer to hip-tests Readme for build instructions! ")
else()
if(${RUN_HIT} EQUAL 0)
set(CMAKE_MODULE_PATH "${HIP_ROOT_DIR}/cmake" ${CMAKE_MODULE_PATH})