CV_ChessboardDetectorTimingTest: don't ignore missing test data

This commit is contained in:
Roman Donchenko 2015-07-09 17:32:08 +03:00
parent 707d10f115
commit 2e86d46cf2

View 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;
}