2
0
mirror of https://github.com/boostorg/test.git synced 2026-02-02 09:12:10 +00:00

Ranked children should be initialized for consecutive run of the same test tree

This commit is contained in:
Raffi Enficiaud
2016-01-25 22:38:12 +01:00
parent 293f1520e4
commit f99bcf95fb

View File

@@ -480,6 +480,7 @@ public:
BOOST_TEST_FOREACH( test_unit_id, chld_id, ts.m_children )
deduce_siblings_order( chld_id, master_tu_id, tuoi );
ts.m_ranked_children.clear();
BOOST_TEST_FOREACH( test_unit_id, chld_id, ts.m_children ) {
counter_t rank = assign_sibling_rank( chld_id, tuoi );
ts.m_ranked_children.insert( std::make_pair( rank, chld_id ) );