minor fix in highgui tests
This commit is contained in:
parent
5964234681
commit
48514337de
@ -53,7 +53,7 @@ class CV_FFmpegWriteBigImagesTest : public cvtest::BaseTest
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Mat img = imread(string(ts->get_data_path()) + "readwrite/read.png", 0);
|
Mat img = imread(string(ts->get_data_path()) + "readwrite/read.png");
|
||||||
if (img.empty()) ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA);
|
if (img.empty()) ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA);
|
||||||
imwrite(string(ts->get_data_path()) + "readwrite/write.png", img);
|
imwrite(string(ts->get_data_path()) + "readwrite/write.png", img);
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "test_precomp.hpp"
|
#include "test_precomp.hpp"
|
||||||
|
|
||||||
CV_TEST_MAIN("cv")
|
CV_TEST_MAIN("highgui")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user