Mark these test as TODO.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 11 Jun 2008 17:13:08 +0000 (17:13 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 11 Jun 2008 17:13:08 +0000 (17:13 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1444 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/drv/lcd_hd44_test.c
bertos/drv/lcd_text_test.c
bertos/drv/phase.c
bertos/drv/timer_test.c

index 48ec04d4259e0d0c7e9b4ca762dddf75dee5dfbb..d01d01f41f5fc3523c2207fc665f91f276e014a4 100644 (file)
  */
 
 #include "lcd_hd44.h"
-
 #include "hw/hw_lcd.h"
 
 #include <drv/timer.h>
 
+#warning TODO:Refactor this test to comply whit BeRTOS test policy.
+
+#ifdef _TEST
+
 void lcd_hw_test(void)
 {
        lcd_regWrite(LCD_CMD_SET_DDRAMADDR | 3);
@@ -75,7 +78,6 @@ void lcd_hw_test(void)
 }
 
 
-#ifdef _TEST
 
 #include <drv/timer.c>
 #include <drv/lcd_hd44.c>
index 1c4c81ae32d666b9a6c0dc75e66f2c7e2dc45d60..fedde87eddaa6d8efa4e86c261aa6aa5123d4b01 100644 (file)
@@ -38,7 +38,7 @@
  *
  */
 
-#warning FIXME:This test is incomplete, you must review!
+#warning TODO:This test is incomplete, you must review!
 
 #if 0
 void lcd_test(void)
index e88fd08371e517e5ccc3aabe50df9b3751b5728c..27ae92fe696d4a4637cca35a6a86f713a8cc9cb1 100644 (file)
@@ -50,8 +50,9 @@
 
 #include <math.h>
 
-#warning FIXME:Generalize this moduele for all target supported.
+#warning TODO:Generalize this moduele for all target supported.
 
+#if 0
 /** Array  of triacs */
 static Triac triacs[TRIAC_CNT];
 
@@ -191,3 +192,5 @@ void phase_init(void)
        DB(phase_initialized = true;)
        IRQ_RESTORE(flags);
 }
+#endif
+
index 98412233200850e629457d6eca56056e39d8dc74..694d18c565ed86ca35d402bc602433da8d00da77 100644 (file)
@@ -45,6 +45,8 @@
 
 #warning TODO:Refactor this test to comply whit BeRTOS test policy.
 
+#ifdef _TEST
+
 static void timer_test_constants(void)
 {
        kprintf("TIMER_HW_HPTICKS_PER_SEC=%lu\n", TIMER_HW_HPTICKS_PER_SEC);
@@ -127,7 +129,6 @@ static void timer_test_poll(void)
        }
 }
 
-#ifdef _TEST
 
 #include "timer.c"
 #include "mware/event.c"