73f234a0c0
- 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.
[ROCm/hip-tests commit: 7cb8d2fe5b]
12 lines
352 B
CMake
12 lines
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) |