CV_ChessboardDetectorTimingTest: don't ignore missing test data
This commit is contained in:
parent
707d10f115
commit
2e86d46cf2
@ -110,11 +110,7 @@ void CV_ChessboardDetectorTimingTest::run( int start_from )
|
|||||||
if( !img )
|
if( !img )
|
||||||
{
|
{
|
||||||
ts->printf( cvtest::TS::LOG, "one of chessboard images can't be read: %s\n", filename );
|
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;
|
code = cvtest::TS::FAIL_MISSING_TEST_DATA;
|
||||||
goto _exit_;
|
|
||||||
}
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user