diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-05-05 16:45:57 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-05-05 16:45:57 +0000 |
commit | c0d7e23ce943acd34f20fca96540769ab1927ec9 (patch) | |
tree | b148b73f506d1bdb7b007fe71dc1903e6861631f /testsuites/sptests/sp39 | |
parent | 2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-c0d7e23ce943acd34f20fca96540769ab1927ec9.tar.bz2 |
2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen12.c, sp09/sp09.scn, sp21/Makefile.am, sp35/priinv.c,
sp39/init.c, sp50/init.c, sp57/init.c, sp72/init.c, sp73/init.c,
spintrcritical01/init.c, spprivenv01/init.c, spsimplesched01/init.c,
spsimplesched02/init.c: Remove warnings.
Diffstat (limited to 'testsuites/sptests/sp39')
-rw-r--r-- | testsuites/sptests/sp39/init.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/testsuites/sptests/sp39/init.c b/testsuites/sptests/sp39/init.c index 482ee8e6b8..81dcd4f315 100644 --- a/testsuites/sptests/sp39/init.c +++ b/testsuites/sptests/sp39/init.c @@ -1,7 +1,7 @@ /* * Classic API Signal to Task from ISR * - * COPYRIGHT (c) 1989-2009. + * COPYRIGHT (c) 1989-2011. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -44,17 +44,20 @@ rtems_timer_service_routine test_event_from_isr( * This event send hits the critical section but sends to * another task so doesn't impact this critical section. */ - rtems_event_send( other_task, 0x02 ); + status = rtems_event_send( other_task, 0x02 ); + directive_failed( status, "event send" ); /* * This event send hits the main task but doesn't satisfy * it's blocking condition so it will still block */ - rtems_event_send( main_task, 0x02 ); + status = rtems_event_send( main_task, 0x02 ); + directive_failed( status, "event send" ); case_hit = TRUE; } status = rtems_event_send( main_task, 0x01 ); + directive_failed( status, "event send" ); } rtems_timer_service_routine test_event_with_timeout_from_isr( @@ -72,6 +75,7 @@ rtems_timer_service_routine test_event_with_timeout_from_isr( case_hit = TRUE; } status = rtems_event_send( main_task, 0x01 ); + directive_failed( status, "event send" ); } rtems_task Init( |