mirror of
https://github.com/opencv/opencv.git
synced 2025-01-13 08:08:10 +08:00
Highgui test output fixes.
Useless output to console fixed;
Test output files moved from cwd to temp folder.
(cherry picked from commit 87935f3560
)
This commit is contained in:
parent
32414afe72
commit
ca10e5e8ae
@ -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
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user