Enable temp objects destruction test for VS versions less than 2015

This commit is contained in:
Maksim Shabunin 2015-10-22 12:44:03 +03:00
parent 6e9d0d9a0c
commit 31e0d90da6

View File

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