From a7d1e08bcc769c2ac17e6b615320454dc95de8c2 Mon Sep 17 00:00:00 2001 From: Alexander Shishkov Date: Mon, 13 Jun 2011 19:30:16 +0000 Subject: [PATCH] added progress output to the long-time tests (for buildbot) --- modules/calib3d/test/test_stereomatching.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/calib3d/test/test_stereomatching.cpp b/modules/calib3d/test/test_stereomatching.cpp index 60f20de676..649f79aec3 100755 --- a/modules/calib3d/test/test_stereomatching.cpp +++ b/modules/calib3d/test/test_stereomatching.cpp @@ -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);