Changeset 9d5f600 in rtems


Ignore:
Timestamp:
Mar 9, 2011, 12:38:56 AM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
ce217f96
Parents:
53a27c2
Message:

2011-03-08 Joel Sherrill <joel.sherrilL@…>

  • spchain/init.c: Improve coverage testing.
Location:
testsuites/sptests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    r53a27c2 r9d5f600  
     12011-03-08      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        * spchain/init.c: Improve coverage testing.
     4
    152011-02-22      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • testsuites/sptests/spchain/init.c

    r53a27c2 r9d5f600  
    7777  rtems_test_assert( p == &a );
    7878
     79  rtems_chain_initialize_empty( &chain );
     80
     81  rtems_chain_append( &chain, &b );
     82  sc = rtems_chain_append_with_notification( &chain, &a, rtems_task_self(), EVENT );
     83  rtems_test_assert( sc == RTEMS_SUCCESSFUL );
     84  rtems_test_assert( p == &a );
     85
    7986  puts( "INIT - Verify rtems_chain_prepend_with_notification" );
    8087  rtems_chain_initialize_empty( &chain );
     
    8592  rtems_test_assert( p == &a );
    8693
     94  rtems_chain_prepend( &chain, &b );
     95  sc = rtems_chain_prepend_with_notification( &chain, &a, rtems_task_self(), EVENT );
     96  rtems_test_assert( sc == RTEMS_SUCCESSFUL );
     97  rtems_test_assert( p == &a );
     98
     99  puts( "INIT - Verify rtems_chain_prepend_with_notification" );
    87100  puts( "INIT - Verify rtems_chain_get_with_notification" );
    88101  rtems_chain_initialize_empty( &chain );
Note: See TracChangeset for help on using the changeset viewer.