1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #24003 from cudawarped:cuda_fix_skip_test_exception

`cuda`: add SkipTestException handling
This commit is contained in:
Alexander Smorkalov
2023-07-18 09:49:20 +03:00
committed by GitHub
@@ -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(); \