Issue Details (XML | Word | Printable)

Key: STDCXX-536
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Travis Vitek
Reporter: Martin Sebor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

allow thread safety tests to time out without failing

Created: 25/Aug/07 01:44 AM   Updated: 29/May/08 11:37 PM
Return to search
Component/s: Tests
Affects Version/s: 4.2.0
Fix Version/s: 4.2.2

Time Tracking:
Original Estimate: 3h
Original Estimate - 3h
Remaining Estimate: 0h
Time Spent - 5h
Time Spent: 5h
Time Spent - 5h

File Attachments:
  Size
Text File Licensed for inclusion in ASF works stdcxx-536.patch 2008-05-07 08:45 PM Travis Vitek 49 kB

Severity: Usability
Resolution Date: 29/May/08 11:37 PM


 Description  « Hide
The newly added thread safety tests (and possibly some of the existing ones) tend to run for a long time, consuming a lot of CPU cycles, and sometimes even failing due to a timeout (currently 300 seconds in nightly builds). It would be useful to provide a mechanism such as a command line option whereby the tests' runtime could be limited without necessarily causing them to fail when the amount of time is exceeded. One way to do it would be for each test to set an alarm in response to this command line option and in handler for the alarm set a flag that each thread would check at each iteration of its loop to see if it should break.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Travis Vitek logged work - 07/May/08 08:48 PM
Time Worked: 4h
<No comment>
Travis Vitek logged work - 22/May/08 03:33 PM
Time Worked: 1h
cleanup.