Add missing break in TestRunner 14/214914/1
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 27 Sep 2019 10:41:38 +0000 (12:41 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 27 Sep 2019 10:52:50 +0000 (12:52 +0200)
In a highly unlikey case of throwing the RUNNER_IGNORED_MSG during the test
finishing stage, after the SafeCleanup collected some exception handling
errors, these errors would be added to the ignore message.

Change-Id: I1aeedb46bf98b8300223a26c312abf98d63ca838

src/framework/src/test_runner.cpp

index 8c91236..26a11d2 100644 (file)
@@ -274,6 +274,7 @@ void TestRunner::RunTestCase(TestCasePtr testCase)
             if (!testReason.empty())
                 testReason += "\n";
             testReason += finishReason;
+            break;
         case TestResult::FailStatus::NONE:
             if (!cleanupReason.empty()) {
                 if (!testReason.empty())