Reformat.
[bertos.git] / bertos / kern / proc_test.c
index e06e984f660aef3581416d1c60758e47d75fefe9..7c4cdc86442707a352eb8e64b2bb4d74a240ef25 100644 (file)
@@ -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 <drv/kdebug.c>
-#include <drv/timer.c>
-#include <kern/idle.c>
-#include <kern/monitor.c>
-#include <kern/signal.c>
-#if CONFIG_KERN_PREEMPT
-       #include <kern/preempt.c>
-       #include <kern/irq.c>
-#else
-       #include <kern/coop.c>
-       // FIXME: we need to link with the switch asm code too!
-#endif
-#include <kern/proc.c>
-#include <mware/formatwr.c>
-#include <mware/hex.c>
-#include <mware/event.c>
-#include <os/hptime.c>
-
 TEST_MAIN(proc);
-
-#endif // _TEST