From 371f32f48e7a1491451ec137e32d5c19f1fbd976 Mon Sep 17 00:00:00 2001 From: Daniel Ramirez Date: Mon, 9 Dec 2013 17:17:31 -0600 Subject: [PATCH] tmtests: refactored timesys.h, removed declarations --- testsuites/tmtests/include/timesys.h | 3 --- testsuites/tmtests/tm01/system.h | 3 +++ testsuites/tmtests/tm09/system.h | 2 ++ testsuites/tmtests/tm15/system.h | 2 ++ testsuites/tmtests/tm16/system.h | 2 ++ testsuites/tmtests/tm17/system.h | 2 ++ testsuites/tmtests/tm19/system.h | 2 ++ testsuites/tmtests/tm20/system.h | 2 ++ testsuites/tmtests/tm27/system.h | 2 ++ testsuites/tmtests/tm28/system.h | 2 ++ testsuites/tmtests/tmck/system.h | 2 ++ 11 files changed, 21 insertions(+), 3 deletions(-) diff --git a/testsuites/tmtests/include/timesys.h b/testsuites/tmtests/include/timesys.h index de048131c4..6be7996aee 100644 --- a/testsuites/tmtests/include/timesys.h +++ b/testsuites/tmtests/include/timesys.h @@ -63,7 +63,4 @@ TEST_EXTERN volatile uint32_t end_time; /* ending time variable */ TEST_EXTERN volatile uint32_t overhead; /* loop overhead variable */ -TEST_EXTERN rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */ -TEST_EXTERN rtems_name Task_name[ OPERATION_COUNT+1 ]; /* array of task names */ - /* end of include file */ diff --git a/testsuites/tmtests/tm01/system.h b/testsuites/tmtests/tm01/system.h index 156b16b55e..0f8ca0fd5c 100644 --- a/testsuites/tmtests/tm01/system.h +++ b/testsuites/tmtests/tm01/system.h @@ -22,6 +22,9 @@ rtems_task Init( #include +rtems_name Task_name[ OPERATION_COUNT+1 ]; /* array of task names */ +rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */ + /* configuration information */ #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER diff --git a/testsuites/tmtests/tm09/system.h b/testsuites/tmtests/tm09/system.h index 5975ceb2f4..11c93a721b 100644 --- a/testsuites/tmtests/tm09/system.h +++ b/testsuites/tmtests/tm09/system.h @@ -24,6 +24,8 @@ rtems_task Init( #include +rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */ + /* configuration information */ #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER diff --git a/testsuites/tmtests/tm15/system.h b/testsuites/tmtests/tm15/system.h index d984514db3..d3d7750825 100644 --- a/testsuites/tmtests/tm15/system.h +++ b/testsuites/tmtests/tm15/system.h @@ -22,6 +22,8 @@ rtems_task Init( #include +rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */ + /* configuration information */ #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER diff --git a/testsuites/tmtests/tm16/system.h b/testsuites/tmtests/tm16/system.h index 35f74caf91..9df28fce6e 100644 --- a/testsuites/tmtests/tm16/system.h +++ b/testsuites/tmtests/tm16/system.h @@ -22,6 +22,8 @@ rtems_task Init( #include +rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */ + /* configuration information */ #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER diff --git a/testsuites/tmtests/tm17/system.h b/testsuites/tmtests/tm17/system.h index d984514db3..d3d7750825 100644 --- a/testsuites/tmtests/tm17/system.h +++ b/testsuites/tmtests/tm17/system.h @@ -22,6 +22,8 @@ rtems_task Init( #include +rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */ + /* configuration information */ #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER diff --git a/testsuites/tmtests/tm19/system.h b/testsuites/tmtests/tm19/system.h index b4844d2750..211870de5f 100644 --- a/testsuites/tmtests/tm19/system.h +++ b/testsuites/tmtests/tm19/system.h @@ -22,6 +22,8 @@ rtems_task Init( #include +rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */ + /* configuration information */ #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER diff --git a/testsuites/tmtests/tm20/system.h b/testsuites/tmtests/tm20/system.h index f8e2ad58a1..1c5392a696 100644 --- a/testsuites/tmtests/tm20/system.h +++ b/testsuites/tmtests/tm20/system.h @@ -22,6 +22,8 @@ rtems_task Init( #include +rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */ + /* configuration information */ #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER diff --git a/testsuites/tmtests/tm27/system.h b/testsuites/tmtests/tm27/system.h index d0d28434a6..e74a3f56f3 100644 --- a/testsuites/tmtests/tm27/system.h +++ b/testsuites/tmtests/tm27/system.h @@ -22,6 +22,8 @@ rtems_task Init( #include +rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */ + /* configuration information */ #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER diff --git a/testsuites/tmtests/tm28/system.h b/testsuites/tmtests/tm28/system.h index c7e45c06af..217cd14a8c 100644 --- a/testsuites/tmtests/tm28/system.h +++ b/testsuites/tmtests/tm28/system.h @@ -22,6 +22,8 @@ rtems_task Init( #include +rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */ + /* configuration information */ #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER diff --git a/testsuites/tmtests/tmck/system.h b/testsuites/tmtests/tmck/system.h index 33d4fdb96e..58a631aa1e 100644 --- a/testsuites/tmtests/tmck/system.h +++ b/testsuites/tmtests/tmck/system.h @@ -22,6 +22,8 @@ rtems_task Init( #include +rtems_name Task_name[ OPERATION_COUNT+1 ]; /* array of task names */ + /* configuration information */ #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER