add calls to TC_END_RESULT to be consistent

most places call TC_END_RESULT before calling TC_END_REPORT.
These new calls to TC_END_RESULT are added so it is used
consistently in the microkernel tests.

Change-Id: I1125662c47a487b1bf4054d63ee2b9dc314a253e
Signed-off-by: David Norris <david.norris@intel.com>
This commit is contained in:
David Norris 2015-04-27 14:37:32 -07:00 committed by Anas Nashif
parent 9a87dfd4aa
commit df8f130910
7 changed files with 12 additions and 0 deletions

View file

@ -273,6 +273,7 @@ void load_store_low(void)
*/
if (fpu_sharing_error) {
TC_END_RESULT(TC_FAIL);
TC_END_REPORT(TC_FAIL);
return;
}
@ -396,6 +397,7 @@ void load_store_high(void)
/* terminate testing if specified limit has been reached */
if (load_store_high_count == MAX_TESTS) {
TC_END_RESULT(TC_PASS);
TC_END_REPORT(TC_PASS);
return;
}

View file

@ -144,10 +144,12 @@ void MonitorTaskEntry (void)
{
TC_ERROR ("Monitor task timed out\n");
}
TC_END_RESULT (TC_FAIL);
TC_END_REPORT (TC_FAIL);
return;
}
}
TC_END_RESULT (TC_PASS);
TC_END_REPORT (TC_PASS);
}

View file

@ -138,10 +138,12 @@ void MonitorTaskEntry (void)
{
TC_ERROR ("Monitor task timed out\n");
}
TC_END_RESULT (TC_FAIL);
TC_END_REPORT (TC_FAIL);
return;
}
}
TC_END_RESULT (TC_PASS);
TC_END_REPORT (TC_PASS);
}

View file

@ -266,10 +266,12 @@ void MonitorTaskEntry(void)
{
TC_ERROR ("Monitor task timed out\n");
}
TC_END_RESULT (TC_FAIL);
TC_END_REPORT (TC_FAIL);
return;
}
}
TC_END_RESULT (TC_PASS);
TC_END_REPORT (TC_PASS);
}

View file

@ -157,10 +157,12 @@ void MonitorTaskEntry (void)
{
TC_ERROR ("Monitor task timed out\n");
}
TC_END_RESULT (TC_FAIL);
TC_END_REPORT (TC_FAIL);
return;
}
}
TC_END_RESULT (TC_PASS);
TC_END_REPORT (TC_PASS);
}

View file

@ -329,5 +329,6 @@ void RegressionTaskEntry(void)
}
exitRtn:
TC_END_RESULT(tcRC);
TC_END_REPORT(tcRC);
}

View file

@ -89,5 +89,6 @@ void RegressionTaskEntry (void)
}
exitRtn:
TC_END_RESULT (tcRC);
TC_END_REPORT (tcRC);
}