Do not throw exception from destructior in tcu::Either tests
authorPyry Haulos <phaulos@google.com>
Fri, 27 May 2016 16:20:49 +0000 (09:20 -0700)
committerPyry Haulos <phaulos@google.com>
Fri, 27 May 2016 16:30:08 +0000 (09:30 -0700)
Change-Id: I5b63d0c3722d3856ac4b7827f8a4b46da2796856

framework/common/tcuEither.cpp

index c640ded..f5feeab 100644 (file)
@@ -44,7 +44,7 @@ public:
 
        ~TestClassWithConstructor (void)
        {
-               TCU_CHECK(m_copyCheck == COPYCHECK_VALUE);
+               DE_TEST_ASSERT(m_copyCheck == COPYCHECK_VALUE);
        }
 
        TestClassWithConstructor (const TestClassWithConstructor& other)