Opened 4 years ago

Closed 2 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.

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by Raffi Enficiaud

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

comment:2 Changed 2 years ago by Raffi Enficiaud

Milestone: To Be DeterminedBoost 1.61.0

Fixed in topic/trac-9443-random-seed

comment:3 Changed 2 years ago by Raffi Enficiaud

Resolution: fixed
Status: assignedclosed

Merged to master rev 6a3a616

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Raffi Enficiaud.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.