Opened 9 years ago

Closed 7 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:

Description

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 by Raffi Enficiaud, 9 years ago

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

comment:2 by Raffi Enficiaud, 7 years ago

Milestone: To Be DeterminedBoost 1.61.0

Fixed in topic/trac-9443-random-seed

comment:3 by Raffi Enficiaud, 7 years ago

Resolution: fixed
Status: assignedclosed

Merged to master rev 6a3a616

Note: See TracTickets for help on using tickets.