X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fproc_test.c;h=7c4cdc86442707a352eb8e64b2bb4d74a240ef25;hb=9b714f49120ffe7674765dc5e1248430b22ae593;hp=e06e984f660aef3581416d1c60758e47d75fefe9;hpb=e18f335ab6b31fb2a2a0950c8d4ce5a4173af062;p=bertos.git diff --git a/bertos/kern/proc_test.c b/bertos/kern/proc_test.c index e06e984f..7c4cdc86 100644 --- a/bertos/kern/proc_test.c +++ b/bertos/kern/proc_test.c @@ -52,7 +52,6 @@ static void proc_test1(void) { kputs("> test1\n"); timer_delay(50); - proc_yield(); } } @@ -86,12 +85,10 @@ int proc_testRun(void) kputs("> main\n"); timer_delay(93); monitor_report(); - proc_yield(); } return 0; } -#if UNIT_TEST int proc_testSetup(void) { @@ -112,24 +109,4 @@ int proc_testTearDown(void) return 0; } -#include -#include -#include -#include -#include -#if CONFIG_KERN_PREEMPT - #include - #include -#else - #include - // FIXME: we need to link with the switch asm code too! -#endif -#include -#include -#include -#include -#include - TEST_MAIN(proc); - -#endif // _TEST