added progress output to the long-time tests (for buildbot)
authorAlexander Shishkov <no@email>
Mon, 13 Jun 2011 19:30:16 +0000 (19:30 +0000)
committerAlexander Shishkov <no@email>
Mon, 13 Jun 2011 19:30:16 +0000 (19:30 +0000)
modules/calib3d/test/test_stereomatching.cpp

index 60f20de..649f79a 100755 (executable)
@@ -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);