diff options
Diffstat (limited to 'c/src/tests/tmtests/tm23')
-rw-r--r-- | c/src/tests/tmtests/tm23/system.h | 22 | ||||
-rw-r--r-- | c/src/tests/tmtests/tm23/task1.c | 8 |
2 files changed, 25 insertions, 5 deletions
diff --git a/c/src/tests/tmtests/tm23/system.h b/c/src/tests/tmtests/tm23/system.h index 4444a53c4c..877649e397 100644 --- a/c/src/tests/tmtests/tm23/system.h +++ b/c/src/tests/tmtests/tm23/system.h @@ -17,5 +17,25 @@ #include <coverhd.h> #include <tmacros.h> +/* functions */ + +rtems_task Init( + rtems_task_argument argument +); + #include <timesys.h> -#include <timegvar.h> + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER +#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 +#define CONFIGURE_MAXIMUM_TIMERS 110 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#include <confdefs.h> + +/* end of include file */ diff --git a/c/src/tests/tmtests/tm23/task1.c b/c/src/tests/tmtests/tm23/task1.c index 8b3e6dbccc..4fa36a8a25 100644 --- a/c/src/tests/tmtests/tm23/task1.c +++ b/c/src/tests/tmtests/tm23/task1.c @@ -11,11 +11,8 @@ * $Id$ */ +#define TEST_INIT #include "system.h" -#undef EXTERN -#define EXTERN -#include "conftbl.h" -#include "gvar.h" rtems_id Timer_id[ OPERATION_COUNT+1 ]; @@ -50,6 +47,8 @@ rtems_task Init( rtems_task_entry task_entry; rtems_status_code status; + Print_Warning(); + puts( "\n\n*** TIME TEST 23 ***" ); Timer_initialize(); @@ -298,5 +297,6 @@ rtems_task Low_task( CALLING_OVERHEAD_TASK_WAKE_WHEN ); + puts( "*** END OF TEST 23 ***" ); exit( 0 ); } |