added progress output to the long-time tests (for buildbot)

This commit is contained in:
Alexander Shishkov 2011-06-13 19:30:16 +00:00
parent b081f8bfd6
commit a7d1e08bcc

View File

@ -443,7 +443,8 @@ void CV_StereoMatchingTest::run(int)
for( int ci = 0; ci < caseCount; ci++)
{
progress = update_progress( progress, ci, caseCount, 0 );
printf("progress: %d%%\n", progress);
fflush(stdout);
string datasetName = caseDatasets[ci];
string datasetFullDirName = dataPath + DATASETS_DIR + datasetName + "/";
Mat leftImg = imread(datasetFullDirName + LEFT_IMG_NAME);