Commit 48514337 authored by Andrey Morozov's avatar Andrey Morozov

minor fix in highgui tests

parent 59642346
...@@ -53,7 +53,7 @@ class CV_FFmpegWriteBigImagesTest : public cvtest::BaseTest ...@@ -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);
} }
......
#include "test_precomp.hpp" #include "test_precomp.hpp"
CV_TEST_MAIN("cv") CV_TEST_MAIN("highgui")
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