change log for rtems (2011-03-08)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Mar 9 01:10:17 UTC 2011


 *joel*:
2011-03-08	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* spchain/init.c: Improve coverage testing.

M  1.435  testsuites/sptests/ChangeLog
M   1.10  testsuites/sptests/spchain/init.c

diff -u rtems/testsuites/sptests/ChangeLog:1.434 rtems/testsuites/sptests/ChangeLog:1.435
--- rtems/testsuites/sptests/ChangeLog:1.434	Tue Feb 22 08:54:45 2011
+++ rtems/testsuites/sptests/ChangeLog	Tue Mar  8 18:38:56 2011
@@ -1,3 +1,7 @@
+2011-03-08	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* spchain/init.c: Improve coverage testing.
+
 2011-02-22	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* configure.ac: Add AC_CONFIG_HEADER(config.h).

diff -u rtems/testsuites/sptests/spchain/init.c:1.9 rtems/testsuites/sptests/spchain/init.c:1.10
--- rtems/testsuites/sptests/spchain/init.c:1.9	Tue Feb 22 01:37:02 2011
+++ rtems/testsuites/sptests/spchain/init.c	Tue Mar  8 18:38:56 2011
@@ -76,6 +76,13 @@
   rtems_test_assert( sc == RTEMS_SUCCESSFUL );
   rtems_test_assert( p == &a );
 
+  rtems_chain_initialize_empty( &chain );
+
+  rtems_chain_append( &chain, &b );
+  sc = rtems_chain_append_with_notification( &chain, &a, rtems_task_self(), EVENT );
+  rtems_test_assert( sc == RTEMS_SUCCESSFUL );
+  rtems_test_assert( p == &a );
+
   puts( "INIT - Verify rtems_chain_prepend_with_notification" );
   rtems_chain_initialize_empty( &chain );
   sc = rtems_chain_prepend_with_notification( &chain, &a, rtems_task_self(), EVENT );
@@ -84,6 +91,12 @@
   rtems_test_assert( sc == RTEMS_SUCCESSFUL );
   rtems_test_assert( p == &a );
 
+  rtems_chain_prepend( &chain, &b );
+  sc = rtems_chain_prepend_with_notification( &chain, &a, rtems_task_self(), EVENT );
+  rtems_test_assert( sc == RTEMS_SUCCESSFUL );
+  rtems_test_assert( p == &a );
+
+  puts( "INIT - Verify rtems_chain_prepend_with_notification" );
   puts( "INIT - Verify rtems_chain_get_with_notification" );
   rtems_chain_initialize_empty( &chain );
 



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110308/e8f25131/attachment.html>


More information about the vc mailing list