[SWDEV-438556][SWDEV-451686] - Enable Negative Param hip tests
Change-Id: I7c602ca0109864aac9d18feb31ae90f2a0ef4d36
[ROCm/hip-tests commit: 839b3b21d1]
This commit is contained in:
@@ -45,14 +45,21 @@ elseif (HIP_PLATFORM MATCHES "nvidia")
|
||||
COMPILE_OPTIONS -std=c++17)
|
||||
endif()
|
||||
|
||||
# This test fails in PSDB
|
||||
#add_test(NAME Unit_Device_memcpy_Negative
|
||||
# COMMAND python3 ${CMAKE_CURRENT_SOURCE_DIR}/../compileAndCaptureOutput.py
|
||||
# ${CMAKE_CURRENT_SOURCE_DIR} ${HIP_PLATFORM} ${HIP_PATH}
|
||||
# memcpy_negative_kernels.cc 4)
|
||||
if(UNIX)
|
||||
file(GLOB NEGATIVE_TEST_SRC
|
||||
"memcpy_negative_kernels.cc"
|
||||
"memset_negative_kernels.cc"
|
||||
)
|
||||
|
||||
# This test fails in PSDB
|
||||
file(COPY ${NEGATIVE_TEST_SRC} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/src)
|
||||
|
||||
#add_test(NAME Unit_Device_memcpy_Negative
|
||||
# COMMAND ${Python3_EXECUTABLE} ../compileAndCaptureOutput.py
|
||||
# ./src ${HIP_PLATFORM} ${HIP_PATH}
|
||||
# memcpy_negative_kernels.cc 4)
|
||||
#
|
||||
#add_test(NAME Unit_Device_memset_Negative
|
||||
# COMMAND python3 ${CMAKE_CURRENT_SOURCE_DIR}/../compileAndCaptureOutput.py
|
||||
# ${CMAKE_CURRENT_SOURCE_DIR} ${HIP_PLATFORM} ${HIP_PATH}
|
||||
# COMMAND ${Python3_EXECUTABLE} ../compileAndCaptureOutput.py
|
||||
# ./src ${HIP_PLATFORM} ${HIP_PATH}
|
||||
# memset_negative_kernels.cc 4)
|
||||
endif()
|
||||
Reference in New Issue
Block a user