[Bug 1854] RBTree test: sprbtree01 test includes rtems_rbtree_extract testing

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Jul 26 18:52:50 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1854

Joel Sherrill <joel.sherrill at oarcorp.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |giddyup44 at yahoo.com

--- Comment #5 from Joel Sherrill <joel.sherrill at oarcorp.com> 2011-07-26 13:52:49 CDT ---
  puts( "INIT - Extracting 20 random nodes" );

  for (i = 0; i < 20; i++) {
    id = numbers[i];
    rtems_rbtree_extract( &rbtree1, &node_array[id].Node );
    if (!rb_assert(rbtree1.root) )
      puts( "INIT - FAILED TREE CHECK" );
  }
rtems_test_exit(0);

Is enough to see the failure.  It is something about extracting those 20 node.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list