TC: always print the test result despite the wait time

This commit is contained in:
Grissiom 2013-12-18 22:20:10 +08:00
parent a7c4d07fb7
commit b66c5ee074
1 changed files with 5 additions and 5 deletions

View File

@ -50,11 +50,6 @@ void tc_thread_entry(void* parameter)
_tc_cleanup();
_tc_cleanup = RT_NULL;
}
if (_tc_stat & TC_STAT_FAILED)
rt_kprintf("TestCase[%s] failed\n", _tc_current);
else
rt_kprintf("TestCase[%s] passed\n", _tc_current);
}
else
{
@ -65,6 +60,11 @@ void tc_thread_entry(void* parameter)
_tc_cleanup = RT_NULL;
}
}
if (_tc_stat & TC_STAT_FAILED)
rt_kprintf("TestCase[%s] failed\n", _tc_current);
else
rt_kprintf("TestCase[%s] passed\n", _tc_current);
}
}
}