[PATCH v6 4/10] rbtree.h: Add test & validation framework

2012-09-28 Thread Daniel Santos
This introduces the following .config variables: DEBUG_GRBTREE DEBUG_GRBTREE_VALIDATE DEBUG_GRBTREE will enable the use of the following new flags in struct rb_relationship's flags member. When DEBUG_GRBTREE is not enabled in the config, these flags will evaluate to zero. RB_VERIFY_USAGE -

[PATCH v6 4/10] rbtree.h: Add test validation framework

2012-09-28 Thread Daniel Santos
This introduces the following .config variables: DEBUG_GRBTREE DEBUG_GRBTREE_VALIDATE DEBUG_GRBTREE will enable the use of the following new flags in struct rb_relationship's flags member. When DEBUG_GRBTREE is not enabled in the config, these flags will evaluate to zero. RB_VERIFY_USAGE -