Enable temp objects destruction test for VS versions less than 2015
This commit is contained in:
parent
6e9d0d9a0c
commit
31e0d90da6
@ -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));
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user