Terminate session execution if fatal error is caught.
authorJarkko Pöyry <jpoyry@google.com>
Tue, 7 Apr 2015 03:39:33 +0000 (20:39 -0700)
committerJarkko Pöyry <jpoyry@google.com>
Tue, 7 Apr 2015 03:39:33 +0000 (20:39 -0700)
Bug: 20095156
Change-Id: If6b4b255fda1e89710c7b5c695858306575fe95b

framework/common/tcuTestSessionExecutor.cpp

index ce0a009..4fcfff3 100644 (file)
@@ -62,7 +62,7 @@ TestSessionExecutor::~TestSessionExecutor (void)
 
 bool TestSessionExecutor::iterate (void)
 {
-       for (;;)
+       while (!m_abortSession)
        {
                switch (m_state)
                {
@@ -144,7 +144,6 @@ bool TestSessionExecutor::iterate (void)
                }
        }
 
-       DE_ASSERT(false);
        return false;
 }