summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm09
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/tmtests/tm09')
-rw-r--r--testsuites/tmtests/tm09/system.h21
-rw-r--r--testsuites/tmtests/tm09/task1.c8
2 files changed, 24 insertions, 5 deletions
diff --git a/testsuites/tmtests/tm09/system.h b/testsuites/tmtests/tm09/system.h
index 4444a53c4c..992484e777 100644
--- a/testsuites/tmtests/tm09/system.h
+++ b/testsuites/tmtests/tm09/system.h
@@ -17,5 +17,24 @@
#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_MESSAGE_QUEUES 1
+#define CONFIGURE_TICKS_PER_TIMESLICE 0
+
+#include <confdefs.h>
+
+/* end of include file */
diff --git a/testsuites/tmtests/tm09/task1.c b/testsuites/tmtests/tm09/task1.c
index f1aab28241..882fc5e61c 100644
--- a/testsuites/tmtests/tm09/task1.c
+++ b/testsuites/tmtests/tm09/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 Queue_id;
@@ -30,6 +27,8 @@ rtems_task Init(
{
rtems_status_code status;
+ Print_Warning();
+
puts( "\n\n*** TIME TEST 9 ***" );
status = rtems_task_create(
@@ -85,6 +84,7 @@ rtems_task Test_task (
CALLING_OVERHEAD_MESSAGE_QUEUE_DELETE
);
+ puts( "*** END OF TEST 9 ***" );
exit( 0 );
}