Fix test session completion status
authorPyry Haulos <phaulos@google.com>
Thu, 26 Mar 2015 16:15:03 +0000 (09:15 -0700)
committerPyry Haulos <phaulos@google.com>
Thu, 26 Mar 2015 17:54:58 +0000 (17:54 +0000)
tcu::TestSessionExecutor failed to mark test run as completed, which made
tcu::App to always report run as aborted. This change fixes this issue.

Change-Id: Ifa70442ce9578e9d58db51ecd4557f2cb575d9af

framework/common/tcuTestSessionExecutor.cpp

index 630f22c..ce0a009 100644 (file)
@@ -119,6 +119,7 @@ bool TestSessionExecutor::iterate (void)
                                else
                                {
                                        DE_ASSERT(hierIterState == TestHierarchyIterator::STATE_FINISHED);
+                                       m_status.isComplete = true;
                                        return false;
                                }
                        }