-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
SkipTestException is not handled in CUDA tests #24002
Copy link
Copy link
Closed
Labels
bugcategory: gpu/cuda (contrib)OpenCV 4.0+: moved to opencv_contribOpenCV 4.0+: moved to opencv_contribtest
Description
System Information
OpenCV version: 4.8.0
Detailed description
As observed in opencv/opencv_contrib#3477 when a SkipTestException is thrown the test is incorrectly marked as failed.
It look like all that is required to fix this is updating the definition of GTEST_TEST_CLASS_NAME_(test_case_name, test_name)::TestBody() to handle this type of exception in the same way as CV__TEST_BODY_IMPL(name) does.
Steps to reproduce
Throw a SkipTestException anywhere in a CUDA test.
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files (videos, images, onnx, etc)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugcategory: gpu/cuda (contrib)OpenCV 4.0+: moved to opencv_contribOpenCV 4.0+: moved to opencv_contribtest