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.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# 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)
|
||||
مرجع در شماره جدید
Block a user