minor fix in highgui tests
This commit is contained in:
@@ -53,7 +53,7 @@ class CV_FFmpegWriteBigImagesTest : public cvtest::BaseTest
|
||||
{
|
||||
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);
|
||||
imwrite(string(ts->get_data_path()) + "readwrite/write.png", img);
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "test_precomp.hpp"
|
||||
|
||||
CV_TEST_MAIN("cv")
|
||||
CV_TEST_MAIN("highgui")
|
||||
|
||||
|
Reference in New Issue
Block a user