Highgui test output fixes.
authorAlexander Smorkalov <alexander.smorkalov@itseez.com>
Fri, 31 Jan 2014 08:49:10 +0000 (12:49 +0400)
committerAlexander Smorkalov <alexander.smorkalov@itseez.com>
Fri, 31 Jan 2014 08:49:10 +0000 (12:49 +0400)
Useless output to console fixed;
Test output files moved from cwd to temp folder.

modules/highgui/test/test_ffmpeg.cpp
modules/highgui/test/test_video_io.cpp

index 30410ea..55bf952 100644 (file)
@@ -88,7 +88,7 @@ public:
             stringstream s;
             s << tag;
 
-            const string filename = "output_"+s.str()+".avi";
+            const string filename = tempfile((s.str()+".avi").c_str());
 
             try
             {
index cf47b73..755bcd0 100644 (file)
@@ -332,9 +332,7 @@ void CV_HighGuiTest::VideoTest(const string& dir, const cvtest::VideoFormat& fmt
         }
     }
 
-    printf("Before saved release for %s\n", tmp_name.c_str());
     cvReleaseCapture( &saved );
-    printf("After release\n");
 
     ts->printf(ts->LOG, "end test function : ImagesVideo \n");
 }