change log for rtems (2010-10-26)
rtems-vc at rtems.org
rtems-vc at rtems.org
Tue Oct 26 05:11:05 UTC 2010
*joel*:
2010-10-25 Joel Sherrill <joel.sherrill at oarcorp.com>
* spchain/init.c: Attempt to improve coverage.
M 1.423 testsuites/sptests/ChangeLog
M 1.6 testsuites/sptests/spchain/init.c
diff -u rtems/testsuites/sptests/ChangeLog:1.422 rtems/testsuites/sptests/ChangeLog:1.423
--- rtems/testsuites/sptests/ChangeLog:1.422 Mon Oct 25 02:29:27 2010
+++ rtems/testsuites/sptests/ChangeLog Mon Oct 25 23:22:55 2010
@@ -1,3 +1,7 @@
+2010-10-25 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * spchain/init.c: Attempt to improve coverage.
+
2010-10-25 Sebastian Huber <sebastian.huber at embedded-brains.de>
* spchain/init.c, spwatchdog/task1.c: Do not violate chain API.
diff -u rtems/testsuites/sptests/spchain/init.c:1.5 rtems/testsuites/sptests/spchain/init.c:1.6
--- rtems/testsuites/sptests/spchain/init.c:1.5 Mon Oct 25 02:29:27 2010
+++ rtems/testsuites/sptests/spchain/init.c Mon Oct 25 23:22:55 2010
@@ -38,6 +38,7 @@
rtems_status_code sc = RTEMS_SUCCESSFUL;
rtems_chain_control chain;
rtems_chain_node a;
+ rtems_chain_node b;
rtems_chain_node *p = (rtems_chain_node *) 1;
rtems_event_set out = 0;
@@ -59,8 +60,15 @@
puts( "INIT - Verify rtems_chain_get_with_notification" );
rtems_chain_initialize_empty( &chain );
+
+ rtems_chain_append( &chain, &b );
rtems_chain_append( &chain, &a );
- sc = rtems_chain_get_with_notification( &chain, rtems_task_self(), EVENT, &p );
+
+ sc = rtems_chain_get_with_notification(&chain, rtems_task_self(), EVENT, &p);
+ rtems_test_assert( sc == RTEMS_SUCCESSFUL );
+ rtems_test_assert( p == &b );
+
+ sc = rtems_chain_get_with_notification(&chain, rtems_task_self(), EVENT, &p);
rtems_test_assert( sc == RTEMS_SUCCESSFUL );
rtems_test_assert( p == &a );
sc = rtems_event_receive(
@@ -94,9 +102,14 @@
rtems_test_assert( empty );
empty = rtems_chain_prepend_with_empty_check( &chain, &a );
rtems_test_assert( !empty );
+ empty = rtems_chain_prepend_with_empty_check( &chain, &b );
+ rtems_test_assert( !empty );
puts( "INIT - Verify rtems_chain_get_with_empty_check" );
rtems_chain_initialize_empty( &chain );
+ empty = rtems_chain_get_with_empty_check( &chain, &p );
+ rtems_test_assert( empty );
+
rtems_chain_append( &chain, &a );
rtems_chain_append( &chain, &b );
empty = rtems_chain_get_with_empty_check( &chain, &p );
*joel*:
Spacing.
M 1.23 testsuites/tmtests/configure.ac
diff -u rtems/testsuites/tmtests/configure.ac:1.22 rtems/testsuites/tmtests/configure.ac:1.23
--- rtems/testsuites/tmtests/configure.ac:1.22 Mon Jun 21 11:53:50 2010
+++ rtems/testsuites/tmtests/configure.ac Mon Oct 25 23:24:28 2010
@@ -24,7 +24,6 @@
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
-
OPERATION_COUNT=${OPERATION_COUNT-100}
AC_SUBST(OPERATION_COUNT)
--
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/20101026/79aded4a/attachment.html>
More information about the vc
mailing list