Commit 31e0d90d authored by Maksim Shabunin's avatar Maksim Shabunin

Enable temp objects destruction test for VS versions less than 2015

parent 6e9d0d9a
...@@ -1302,7 +1302,11 @@ TEST(UMat, testTempObjects_UMat) ...@@ -1302,7 +1302,11 @@ TEST(UMat, testTempObjects_UMat)
// C++11 is enabled by default ==> // C++11 is enabled by default ==>
// destructors have implicit 'noexcept(true)' specifier ==> // destructors have implicit 'noexcept(true)' specifier ==>
// throwing exception from destructor is not handled correctly // throwing exception from destructor is not handled correctly
#if defined(_MSC_VER) && _MSC_VER >= 1900 /* MSVC 14 */
TEST(UMat, DISABLED_testTempObjects_Mat) TEST(UMat, DISABLED_testTempObjects_Mat)
#else
TEST(UMat, testTempObjects_Mat)
#endif
{ {
Mat m(10, 10, CV_8UC1, Scalar(1)); Mat m(10, 10, CV_8UC1, Scalar(1));
{ {
......
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