Ticket #9443 (closed Bugs: fixed)

Opened 3 years ago

Last modified 14 months ago

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

Reported by: anonymous Owned by: renficiaud
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

comment:1 Changed 3 years ago by renficiaud

  • Owner changed from rogeeff to renficiaud
  • Status changed from new to assigned

comment:2 Changed 15 months ago by renficiaud

  • Milestone changed from To Be Determined to Boost 1.61.0

Fixed in topic/trac-9443-random-seed

comment:3 Changed 14 months ago by renficiaud

  • Status changed from assigned to closed
  • Resolution set to fixed

Merged to master rev 6a3a616


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

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

Note: See TracTickets for help on using tickets.