Commit ca10e5e8 authored by Alexander Smorkalov's avatar Alexander Smorkalov

Highgui test output fixes.

Useless output to console fixed;
Test output files moved from cwd to temp folder.
(cherry picked from commit 87935f35)
parent 32414afe
...@@ -88,7 +88,7 @@ public: ...@@ -88,7 +88,7 @@ public:
stringstream s; stringstream s;
s << tag; s << tag;
const string filename = "output_"+s.str()+".avi"; const string filename = tempfile((s.str()+".avi").c_str());
try try
{ {
......
...@@ -332,9 +332,7 @@ void CV_HighGuiTest::VideoTest(const string& dir, const cvtest::VideoFormat& fmt ...@@ -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 ); cvReleaseCapture( &saved );
printf("After release\n");
ts->printf(ts->LOG, "end test function : ImagesVideo \n"); ts->printf(ts->LOG, "end test function : ImagesVideo \n");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment