summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-22 19:14:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-22 19:14:37 +0000
commit2fc6dc313d92fa45cdd328e88d1747e138766f03 (patch)
tree1ddb710ec84869892576f8a726ccafa61fbee687 /testsuites
parent1ad83eb8d83bd2b91ba8b16664cd1726469fed9f (diff)
downloadrtems-2fc6dc313d92fa45cdd328e88d1747e138766f03.tar.bz2
2001-01-22 Joel Sherrill <joel@OARcorp.com>
* sp09/screen14.c, sp09/sp09.scn, sp30/init.c, sp31/init.c: Modified because priority added as argument to rtems_timer_initiate_server().
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/ChangeLog5
-rw-r--r--testsuites/sptests/sp09/screen14.c12
-rw-r--r--testsuites/sptests/sp09/sp09.scn1
-rw-r--r--testsuites/sptests/sp30/init.c1
-rw-r--r--testsuites/sptests/sp31/init.c1
5 files changed, 19 insertions, 1 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index 7dacfb00cf..f897d74e8b 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-22 Joel Sherrill <joel@OARcorp.com>
+
+ * sp09/screen14.c, sp09/sp09.scn, sp30/init.c, sp31/init.c: Modified
+ because priority added as argument to rtems_timer_initiate_server().
+
2001-01-16 Joel Sherrill <joel@OARcorp.com>
* Added tests for task-based timers. This included the new tests
diff --git a/testsuites/sptests/sp09/screen14.c b/testsuites/sptests/sp09/screen14.c
index 90a287cf9c..20b166314b 100644
--- a/testsuites/sptests/sp09/screen14.c
+++ b/testsuites/sptests/sp09/screen14.c
@@ -169,7 +169,17 @@ void Screen14()
);
puts( "TA1 - rtems_timer_server_fire_when - RTEMS_INCORRECT_STATE" );
- status = rtems_timer_initiate_server( 0, 0 );
+ status =
+ rtems_timer_initiate_server( 0, 0, 0 );
+ fatal_directive_status(
+ status,
+ RTEMS_INVALID_PRIORITY,
+ "rtems_timer_initiate_server invalid priority"
+ );
+ puts( "TA1 - rtems_timer_initiate_server - RTEMS_INVALID_PRIORITY" );
+
+ status =
+ rtems_timer_initiate_server( RTEMS_TIMER_SERVER_DEFAULT_PRIORITY, 0, 0 );
directive_failed( status, "rtems_timer_initiate_server" );
puts( "TA1 - rtems_timer_initiate_server" );
diff --git a/testsuites/sptests/sp09/sp09.scn b/testsuites/sptests/sp09/sp09.scn
index d99345dc99..1f00519188 100644
--- a/testsuites/sptests/sp09/sp09.scn
+++ b/testsuites/sptests/sp09/sp09.scn
@@ -250,6 +250,7 @@ TA1 - rtems_clock_get - 00:00:01 01/01/1992
TA1 - rtems_timer_fire_when - 08:30:45 02/05/1990 - before RTEMS_INVALID_CLOCK
TA1 - rtems_timer_server_fire_after - RTEMS_INCORRECT_STATE
TA1 - rtems_timer_server_fire_when - RTEMS_INCORRECT_STATE
+TA1 - rtems_timer_initiate_server - RTEMS_INVALID_PRIORITY
TA1 - rtems_timer_initiate_server
TA1 - rtems_timer_server_fire_after - RTEMS_INVALID_ID
TA1 - rtems_timer_server_fire_when - RTEMS_INVALID_ID
diff --git a/testsuites/sptests/sp30/init.c b/testsuites/sptests/sp30/init.c
index 0ff1baff3c..80bb26d232 100644
--- a/testsuites/sptests/sp30/init.c
+++ b/testsuites/sptests/sp30/init.c
@@ -40,6 +40,7 @@ rtems_task Init(
directive_failed( status, "rtems_clock_set" );
status = rtems_timer_initiate_server(
+ RTEMS_TIMER_SERVER_DEFAULT_PRIORITY,
RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_ATTRIBUTES
);
diff --git a/testsuites/sptests/sp31/init.c b/testsuites/sptests/sp31/init.c
index 17beb4e28a..3359d3294d 100644
--- a/testsuites/sptests/sp31/init.c
+++ b/testsuites/sptests/sp31/init.c
@@ -39,6 +39,7 @@ rtems_task Init(
directive_failed( status, "rtems_clock_set" );
status = rtems_timer_initiate_server(
+ RTEMS_TIMER_SERVER_DEFAULT_PRIORITY,
RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_ATTRIBUTES
);