Modify

Opened 4 years ago

Closed 16 months ago

#9443 closed Bugs (fixed)

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:

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.

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by renficiaud

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

comment:2 Changed 17 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 16 months ago by renficiaud

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

Merged to master rev 6a3a616

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain renficiaud.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.