X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fproc_test.c;h=4bad9a24d1eef14cefbac249b01ad7a21a5a44ea;hb=ab6f1a365c1f5a698d8060fbb73dce5a8304e96c;hp=0553881b78a0cbaee898ed67a544309d34da3681;hpb=6f173abf128765ef8e4f71b0cd1619e2d2691cfb;p=bertos.git diff --git a/bertos/kern/proc_test.c b/bertos/kern/proc_test.c index 0553881b..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 @@ -45,8 +55,6 @@ // Global settings for the test. -#define MAX_GLOBAL_COUNT 1024 -#define TEST_TIME_OUT_MS 6000 #define DELAY 5 // Settings for the test process. @@ -90,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++; \