Reverted kern3 and kern4 test.

Fixed main_thread_func() to call test_start() only once.

Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Anup Patel
2011-07-07 14:42:37 +05:30
parent 3468a0d479
commit a88b9b542e
3 changed files with 60 additions and 71 deletions
+9 -8
View File
@@ -218,13 +218,14 @@ int main ( void )
*/
static void main_thread_func (uint32_t data)
{
while (1) {
/* Put a message out on the UART */
printk("Running Tests... ");
if (test_start() != 0) {
printk("FAILED!\n");
} else {
printk("SUCCESS!\n");
}
/* Put a message out on the UART */
printk("Test Started ... ");
if (test_start() != 0) {
printk("FAILED!\n");
} else {
printk("SUCCESS!\n");
}
printk("Reset your board !!!!!");
/* Test finished so just hang !!! */
while (1);
}