Commit c1157c81 authored by Andrey Morozov's avatar Andrey Morozov

fixed compile for linux

parent 1feb5b4d
...@@ -115,9 +115,10 @@ void CV_GpuMatOpConvertToTest::run(int /* start_from */) ...@@ -115,9 +115,10 @@ void CV_GpuMatOpConvertToTest::run(int /* start_from */)
} }
catch(cv::Exception& e) catch(cv::Exception& e)
{ {
ts->printf(CvTS::CONSOLE, "\nERROR: %s\n", e.err); ts->printf(CvTS::CONSOLE, "\nERROR: %s\n", e.what());
} }
ts->set_failed_test_info(passed ? CvTS::OK : CvTS::FAIL_GENERIC); ts->set_failed_test_info(passed ? CvTS::OK : CvTS::FAIL_GENERIC);
} }
CV_GpuMatOpConvertToTest CV_GpuMatOpConvertTo_test; CV_GpuMatOpConvertToTest CV_GpuMatOpConvertToTest_test;
\ No newline at end of file
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