mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 03:33:28 +08:00
Merge pull request #23117 from alalek:test_skip_sporadic_23116
This commit is contained in:
commit
2ab46d9553
@ -264,6 +264,8 @@ TEST_P(Media, audio)
|
|||||||
{
|
{
|
||||||
if (!videoio_registry::hasBackend(cv::VideoCaptureAPIs(backend)))
|
if (!videoio_registry::hasBackend(cv::VideoCaptureAPIs(backend)))
|
||||||
throw SkipTestException(cv::videoio_registry::getBackendName(backend) + " backend was not found");
|
throw SkipTestException(cv::videoio_registry::getBackendName(backend) + " backend was not found");
|
||||||
|
if (cvtest::skipUnstableTests && backend == CAP_GSTREAMER)
|
||||||
|
throw SkipTestException("Unstable GStreamer test");
|
||||||
|
|
||||||
doTest();
|
doTest();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user