-#warning Fix test to comply to new policy.
-#if 0
-/*
- * FIXME: to be compiled as a single file
- * the kernel module needs the assembly switch function
- * and the idle() that lay in a emulator cpp file.
- * How can we fix this?
- */
-#include TEST_ONLY(drv/kdebug.c)
-#include TEST_ONLY(kern/coop.c)
-#include TEST_ONLY(kern/proc.c)
-#include TEST_ONLY(drv/timer.c)
-#include TEST_ONLY(mware/formatwr.c)
-#include TEST_ONLY(mware/hex.c)
-#include TEST_ONLY(os/hptime.c)
+
+
+int proc_testSetup(void)
+{
+ kdbg_init();
+
+ #if CONFIG_KERN_PREEMPT
+ irq_init();
+ #endif
+
+ timer_init();
+
+ proc_init();
+ return 0;
+}
+
+int proc_testTearDown(void)
+{
+ return 0;
+}