[SWDEV-438556][SWDEV-451686] - Enable Negative Param hip tests

Change-Id: I7c602ca0109864aac9d18feb31ae90f2a0ef4d36
This commit is contained in:
Rahul Manocha committed 2024-04-22 13:00:22 -04:00
1 parent 2a13a47e99
commit 839b3b21d1
13 files changed
+376 -236

No files matched your search

+9 -3
View File
@@ -43,11 +43,17 @@ elseif (HIP_PLATFORM MATCHES "nvidia")
COMPILE_OPTIONS -std=c++17)
endif()
# This test fails in PSDB
if(UNIX)
file(GLOB NEGATIVE_TEST_SRC
printf_negative_kernels.cc)
file(COPY ${NEGATIVE_TEST_SRC} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/src)
#add_test(NAME Unit_Printf_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}
# printf_negative_kernels.cc 11)
endif()
# Standalone exes
add_executable(printfFlags_exe EXCLUDE_FROM_ALL printfFlags_exe.cc)