summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-06-20 21:43:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-06-20 21:43:28 +0000
commit496274b6eca7e87cc7de9e7b52bfdfe6dc17cb39 (patch)
tree487282b6c7e8937b22882d34a0075decb0c54f0e /testsuites
parent2007-06-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-496274b6eca7e87cc7de9e7b52bfdfe6dc17cb39.tar.bz2
2007-06-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp20/task1.c, sp34/changepri.c, sp35/priinv.c: Build when using buffered test IO.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/ChangeLog5
-rw-r--r--testsuites/sptests/sp20/task1.c1
-rw-r--r--testsuites/sptests/sp34/changepri.c4
-rw-r--r--testsuites/sptests/sp35/priinv.c4
4 files changed, 10 insertions, 4 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index abcf5f62ac..4954dd72ac 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-20 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * sp20/task1.c, sp34/changepri.c, sp35/priinv.c: Build when using
+ buffered test IO.
+
2007-05-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp21/sp21.scn, sp21/task1.c: rtems_io_register_driver and
diff --git a/testsuites/sptests/sp20/task1.c b/testsuites/sptests/sp20/task1.c
index cd9ff99434..236fac1bd0 100644
--- a/testsuites/sptests/sp20/task1.c
+++ b/testsuites/sptests/sp20/task1.c
@@ -70,6 +70,7 @@ rtems_task Task_1_through_6(
while ( FOREVER ) {
status = rtems_rate_monotonic_period( rmid, Periods[ argument ] );
directive_failed( status, "rtems_rate_monotonic_period" );
+
Count.count[ argument ]++;
}
break;
diff --git a/testsuites/sptests/sp34/changepri.c b/testsuites/sptests/sp34/changepri.c
index 400dec5aae..967c4efbe5 100644
--- a/testsuites/sptests/sp34/changepri.c
+++ b/testsuites/sptests/sp34/changepri.c
@@ -17,6 +17,8 @@
/********************************************************************/
+#define CONFIGURE_INIT
+
#include <bsp.h>
#include <stdio.h>
#include "tmacros.h"
@@ -159,8 +161,6 @@ rtems_task Init(rtems_task_argument ignored)
#define CONFIGURE_MAXIMUM_TASKS 6
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
-#define CONFIGURE_INIT
-
#include <rtems/confdefs.h>
/* end of file */
diff --git a/testsuites/sptests/sp35/priinv.c b/testsuites/sptests/sp35/priinv.c
index 550cde2852..192829db88 100644
--- a/testsuites/sptests/sp35/priinv.c
+++ b/testsuites/sptests/sp35/priinv.c
@@ -46,6 +46,8 @@
#define TEST_EXIT_AFTER_ITERATIONS 10
/********************************************************************/
+#define CONFIGURE_INIT
+
#include <bsp.h>
#include <stdio.h>
#include "tmacros.h"
@@ -481,8 +483,6 @@ rtems_task Init(rtems_task_argument ignored)
#define CONFIGURE_MAXIMUM_TASKS 10
#define CONFIGURE_MAXIMUM_SEMAPHORES 10
-#define CONFIGURE_INIT
-
#include <rtems/confdefs.h>
/* end of file */