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:
parent
9a87dfd4aa
commit
df8f130910
7 changed files with 12 additions and 0 deletions
|
@ -273,6 +273,7 @@ void load_store_low(void)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (fpu_sharing_error) {
|
if (fpu_sharing_error) {
|
||||||
|
TC_END_RESULT(TC_FAIL);
|
||||||
TC_END_REPORT(TC_FAIL);
|
TC_END_REPORT(TC_FAIL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -396,6 +397,7 @@ void load_store_high(void)
|
||||||
/* terminate testing if specified limit has been reached */
|
/* terminate testing if specified limit has been reached */
|
||||||
|
|
||||||
if (load_store_high_count == MAX_TESTS) {
|
if (load_store_high_count == MAX_TESTS) {
|
||||||
|
TC_END_RESULT(TC_PASS);
|
||||||
TC_END_REPORT(TC_PASS);
|
TC_END_REPORT(TC_PASS);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -144,10 +144,12 @@ void MonitorTaskEntry (void)
|
||||||
{
|
{
|
||||||
TC_ERROR ("Monitor task timed out\n");
|
TC_ERROR ("Monitor task timed out\n");
|
||||||
}
|
}
|
||||||
|
TC_END_RESULT (TC_FAIL);
|
||||||
TC_END_REPORT (TC_FAIL);
|
TC_END_REPORT (TC_FAIL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TC_END_RESULT (TC_PASS);
|
||||||
TC_END_REPORT (TC_PASS);
|
TC_END_REPORT (TC_PASS);
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,10 +138,12 @@ void MonitorTaskEntry (void)
|
||||||
{
|
{
|
||||||
TC_ERROR ("Monitor task timed out\n");
|
TC_ERROR ("Monitor task timed out\n");
|
||||||
}
|
}
|
||||||
|
TC_END_RESULT (TC_FAIL);
|
||||||
TC_END_REPORT (TC_FAIL);
|
TC_END_REPORT (TC_FAIL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TC_END_RESULT (TC_PASS);
|
||||||
TC_END_REPORT (TC_PASS);
|
TC_END_REPORT (TC_PASS);
|
||||||
}
|
}
|
||||||
|
|
|
@ -266,10 +266,12 @@ void MonitorTaskEntry(void)
|
||||||
{
|
{
|
||||||
TC_ERROR ("Monitor task timed out\n");
|
TC_ERROR ("Monitor task timed out\n");
|
||||||
}
|
}
|
||||||
|
TC_END_RESULT (TC_FAIL);
|
||||||
TC_END_REPORT (TC_FAIL);
|
TC_END_REPORT (TC_FAIL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TC_END_RESULT (TC_PASS);
|
||||||
TC_END_REPORT (TC_PASS);
|
TC_END_REPORT (TC_PASS);
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,10 +157,12 @@ void MonitorTaskEntry (void)
|
||||||
{
|
{
|
||||||
TC_ERROR ("Monitor task timed out\n");
|
TC_ERROR ("Monitor task timed out\n");
|
||||||
}
|
}
|
||||||
|
TC_END_RESULT (TC_FAIL);
|
||||||
TC_END_REPORT (TC_FAIL);
|
TC_END_REPORT (TC_FAIL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TC_END_RESULT (TC_PASS);
|
||||||
TC_END_REPORT (TC_PASS);
|
TC_END_REPORT (TC_PASS);
|
||||||
}
|
}
|
||||||
|
|
|
@ -329,5 +329,6 @@ void RegressionTaskEntry(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
exitRtn:
|
exitRtn:
|
||||||
|
TC_END_RESULT(tcRC);
|
||||||
TC_END_REPORT(tcRC);
|
TC_END_REPORT(tcRC);
|
||||||
}
|
}
|
||||||
|
|
|
@ -89,5 +89,6 @@ void RegressionTaskEntry (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
exitRtn:
|
exitRtn:
|
||||||
|
TC_END_RESULT (tcRC);
|
||||||
TC_END_REPORT (tcRC);
|
TC_END_REPORT (tcRC);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue