X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fproc_test.c;h=4bad9a24d1eef14cefbac249b01ad7a21a5a44ea;hb=5198d7ad08c6225bde49be486ae1ee395f1eefd0;hp=8f6f263aa3be7a356d92cb1464ccef598d7d0227;hpb=57c1630b1dd12a646a75ca545d2a96dbe48ff28d;p=bertos.git diff --git a/bertos/kern/proc_test.c b/bertos/kern/proc_test.c index 8f6f263a..4bad9a24 100644 --- a/bertos/kern/proc_test.c +++ b/bertos/kern/proc_test.c @@ -34,6 +34,16 @@ * * \version $Id$ * \author Daniele Basile + * + * $test$: cp bertos/cfg/cfg_proc.h $cfgdir/ + * $test$: echo "#undef CONFIG_KERN" >> $cfgdir/cfg_proc.h + * $test$: echo "#define CONFIG_KERN 1" >> $cfgdir/cfg_proc.h + * $test$: cp bertos/cfg/cfg_monitor.h $cfgdir/ + * $test$: echo "#undef CONFIG_KERN_MONITOR" >> $cfgdir/cfg_monitor.h + * $test$: echo "#define CONFIG_KERN_MONITOR 1" >> $cfgdir/cfg_monitor.h + * $test$: cp bertos/cfg/cfg_signal.h $cfgdir/ + * $test$: echo "#undef CONFIG_KERN_SIGNALS" >> $cfgdir/cfg_signal.h + * $test$: echo "#define CONFIG_KERN_SIGNALS 1" >> $cfgdir/cfg_signal.h */ #include @@ -88,8 +98,6 @@ unsigned int t8_count = 0; */ #define PROC_TEST(num) static void proc_test##num(void) \ { \ - unsigned int local_count = 0; \ - \ for (int i = 0; i < INC_PROC_T##num; ++i) \ { \ t##num##_count++; \