# Common Tests - Test independent of all platforms
set(TEST_SRC
    hipGetErrorName.cc
    hipGetErrorString.cc
    hipGetLastError.cc
    hipPeekAtLastError.cc
    hipDrvGetErrorName.cc
    hipDrvGetErrorString.cc
)

hip_add_exe_to_target(NAME ErrorHandlingTest
                      TEST_SRC ${TEST_SRC}
                      TEST_TARGET_NAME build_tests
                      COMPILE_OPTIONS -std=c++14)