Opened 5 years ago

Closed 3 years ago

#9443 closed Bugs (fixed)

Runtime parameter Random seed for random order of test cases not respected correctly

Reported by: anonymous Owned by: Raffi Enficiaud
Milestone: Boost 1.61.0 Component: test
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:


When passing a random seed value > 1 to get a specific test case shuffle the value should be used as seed for the generator. Currently there is no generator setup with the seed nor is any generator passed to std::random_shuffle(). std::random_shuffle() is always called with the internal generator. See unit_test_suite.ipp function traverse_test_tree() for details.

Change History (3)

comment:1 Changed 5 years ago by Raffi Enficiaud

Owner: changed from Gennadiy Rozental to Raffi Enficiaud
Status: newassigned

comment:2 Changed 3 years ago by Raffi Enficiaud

Milestone: To Be DeterminedBoost 1.61.0

Fixed in topic/trac-9443-random-seed

comment:3 Changed 3 years ago by Raffi Enficiaud

Resolution: fixed
Status: assignedclosed

Merged to master rev 6a3a616

Note: See TracTickets for help on using tickets.