From 3bfe76e24ccfb46d07bb8158f2adbc38220f28f7 Mon Sep 17 00:00:00 2001 From: Maksim Shabunin Date: Wed, 13 Jul 2016 15:46:48 +0300 Subject: [PATCH] Ported PR #4187 to master --- modules/calib3d/test/test_chesscorners_timing.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/calib3d/test/test_chesscorners_timing.cpp b/modules/calib3d/test/test_chesscorners_timing.cpp index 61287ab..570c125 100644 --- a/modules/calib3d/test/test_chesscorners_timing.cpp +++ b/modules/calib3d/test/test_chesscorners_timing.cpp @@ -113,11 +113,7 @@ void CV_ChessboardDetectorTimingTest::run( int start_from ) if( img2.empty() ) { ts->printf( cvtest::TS::LOG, "one of chessboard images can't be read: %s\n", filename.c_str() ); - if( max_idx == 1 ) - { - code = cvtest::TS::FAIL_MISSING_TEST_DATA; - goto _exit_; - } + code = cvtest::TS::FAIL_MISSING_TEST_DATA; continue; } -- 2.7.4