CV_ChessboardDetectorTimingTest: don't ignore missing test data
authorRoman Donchenko <roman.donchenko@itseez.com>
Thu, 9 Jul 2015 14:32:08 +0000 (17:32 +0300)
committerRoman Donchenko <roman.donchenko@itseez.com>
Thu, 9 Jul 2015 14:32:08 +0000 (17:32 +0300)
modules/calib3d/test/test_chesscorners_timing.cpp

index 6195c04..410796a 100644 (file)
@@ -110,11 +110,7 @@ void CV_ChessboardDetectorTimingTest::run( int start_from )
         if( !img )
         {
             ts->printf( cvtest::TS::LOG, "one of chessboard images can't be read: %s\n", filename );
-            if( max_idx == 1 )
-            {
-                code = cvtest::TS::FAIL_MISSING_TEST_DATA;
-                goto _exit_;
-            }
+            code = cvtest::TS::FAIL_MISSING_TEST_DATA;
             continue;
         }