7cb8d2fe5b
- 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.
12 righe
352 B
CMake
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) |