1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Merge pull request #8593 from devnexen:test_fixes

This commit is contained in:
Alexander Alekhin
2017-04-21 12:41:10 +00:00
5 changed files with 14 additions and 1 deletions
@@ -1570,7 +1570,8 @@ void CV_StereoCalibrationTest::run( int )
{
ts->printf( cvtest::TS::LOG, "The file %s can not be opened or has invalid content\n", filepath.c_str() );
ts->set_failed_test_info( f ? cvtest::TS::FAIL_INVALID_TEST_DATA : cvtest::TS::FAIL_MISSING_TEST_DATA );
fclose(f);
if (f)
fclose(f);
return;
}