SWDEV-253349 - Add a SKIP state for hip directed tests when HIP_BRINGUP_SKIP macro is used.

Change-Id: If176cf775e568d4b32982127731223fe96a38f0d


[ROCm/hip commit: d1f82881f6]
This commit is contained in:
kjayapra-amd
2020-09-21 21:18:25 -04:00
committed by Karthik Jayaprakash
parent 7fde2122aa
commit 722bfd0a5d
15 changed files with 74 additions and 5 deletions
Regular → Executable
+1
View File
@@ -303,6 +303,7 @@ macro(MAKE_TEST _config exe)
add_test(NAME ${testname} CONFIGURATIONS ${_config} COMMAND ${PROJECT_BINARY_DIR}/${exe} ${ARGN})
endif()
set_tests_properties(${testname} PROPERTIES PASS_REGULAR_EXPRESSION "PASSED" ENVIRONMENT HIP_PATH=${HIP_ROOT_DIR})
set_tests_properties(${testname} PROPERTIES SKIP_RETURN_CODE 127 ENVIRONMENT HIP_PATH=${HIP_ROOT_DIR})
endmacro()
macro(MAKE_NAMED_TEST _config exe testname)