Files
rocm-systems/catch/unit/errorHandling/CMakeLists.txt
T
Mirza Halilčević 7cb8d2fe5b EXSWHTEC-7 - Implement tests for error handling APIs (#2883)
- Validate that hipGetErrorName returns a non empty string for all error enumerators
- Validate that hipGetErrorString returns a non empty string for all error enumerators
- Negative parameter test for hipGetErrorName and hipGetErrorString
- Validate expected behaviour of hipGetLastError and hipPeekAtLastError
- Multithreaded tests for hipGetLastError and hipPeekAtLastError
- Remove threaded_zig_zag_test.
- Validate error string for invalid error enumerator
- Remove empty lines from HipGetLastErrorThreadedTest and HipPeekAtLastErrorTest.
- Removed unnecessary check in hipGetErrorString negative test.
2022-11-02 21:01:54 +05:30

12 righe
352 B
CMake

# Common Tests - Test independent of all platforms
set(TEST_SRC
hipGetErrorName.cc
hipGetErrorString.cc
hipGetLastError.cc
hipPeekAtLastError.cc
)
hip_add_exe_to_target(NAME ErrorHandlingTest
TEST_SRC ${TEST_SRC}
TEST_TARGET_NAME build_tests
COMPILE_OPTIONS -std=c++14)