minor fix in highgui tests

This commit is contained in:
Andrey Morozov 2011-06-02 08:53:12 +00:00
parent 5964234681
commit 48514337de
2 changed files with 2 additions and 2 deletions

View File

@ -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);
} }

View File

@ -1,4 +1,4 @@
#include "test_precomp.hpp" #include "test_precomp.hpp"
CV_TEST_MAIN("cv") CV_TEST_MAIN("highgui")