Merge pull request #24003 from cudawarped:cuda_fix_skip_test_exception

`cuda`: add SkipTestException handling
pull/24026/head
Alexander Smorkalov 2 years ago committed by GitHub
commit 1f82550cc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      modules/ts/include/opencv2/ts/cuda_test.hpp

@ -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(); \

Loading…
Cancel
Save