Highgui test output fixes.

Useless output to console fixed;
Test output files moved from cwd to temp folder.
This commit is contained in:
Alexander Smorkalov
2014-01-31 12:49:10 +04:00
parent d14e007fdb
commit 87935f3560
2 changed files with 1 additions and 3 deletions

View File

@@ -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
{ {

View 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 ); cvReleaseCapture( &saved );
printf("After release\n");
ts->printf(ts->LOG, "end test function : ImagesVideo \n"); ts->printf(ts->LOG, "end test function : ImagesVideo \n");
} }