1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

cuda: add SkipTestException handling

This commit is contained in:
cudawarped
2023-07-17 18:03:09 +03:00
parent 1920993525
commit e00c904585
@@ -202,6 +202,11 @@ namespace cvtest
{ \
UnsafeTestBody(); \
} \
catch (const cvtest::details::SkipTestExceptionBase& e) \
{ \
printf("[ SKIP ] %s\n", e.what()); \
cv::cuda::resetDevice(); \
} \
catch (...) \
{ \
cv::cuda::resetDevice(); \