diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-12-08 17:52:56 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-12-08 17:52:56 +0000 |
commit | 9e7d02a3dcd0b4b38f13c11214a597d67c6aeb94 (patch) | |
tree | 6947be73e333886d3388289cbcb5efbf58234f9b /testsuites/sptests/spobjgetnext | |
parent | 2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-9e7d02a3dcd0b4b38f13c11214a597d67c6aeb94.tar.bz2 |
2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp18/init.c, sp31/task1.c, sp43/init.c, sp63/init.c, sp64/init.c,
spfatal10/testcase.h, spfatal11/testcase.h, spobjgetnext/init.c,
spwkspace/init.c: Use rtems_test_assert() consistently instead of
system assert(). rtems_test_assert() is designed to integrate into
the RTEMS test suite infrastructure.
Diffstat (limited to 'testsuites/sptests/spobjgetnext')
-rw-r--r-- | testsuites/sptests/spobjgetnext/init.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuites/sptests/spobjgetnext/init.c b/testsuites/sptests/spobjgetnext/init.c index 42fcb410c0..9c5161367b 100644 --- a/testsuites/sptests/spobjgetnext/init.c +++ b/testsuites/sptests/spobjgetnext/init.c @@ -74,27 +74,27 @@ rtems_task Init( puts( "Init - _Objects_Get_next - NULL object information" ); o = _Objects_Get_next( NULL, main_task, &location, &id ); - assert( o == NULL ); + rtems_test_assert( o == NULL ); puts( "Init - _Objects_Get_next - NULL location" ); o = _Objects_Get_next( info, main_task, NULL, &id ); - assert( o == NULL ); + rtems_test_assert( o == NULL ); puts( "Init - _Objects_Get_next - NULL id" ); o = _Objects_Get_next( info, main_task, &location, NULL ); - assert( o == NULL ); + rtems_test_assert( o == NULL ); /* XXX push the three NULL error cases */ /* simple case of only all tasks in the system, starting at initial */ count = scan_objects( info, OBJECTS_ID_INITIAL_INDEX ); printf( "%d RTEMS Task%s\n", count, ((count == 1) ? "" : "s") ); - assert( count == 1 ); + rtems_test_assert( count == 1 ); /* simple case of only 1 task in the system, starting at that task */ count = scan_objects( info, main_task ); printf( "%d RTEMS Task%s\n", count, ((count == 1) ? "" : "s") ); - assert( count == 1 ); + rtems_test_assert( count == 1 ); /* XXX create >= 1 task and make sure the counts are correct when */ /* XXX you start the search at initial, first id, arbitrary id */ |