#4712: Make the doctest timeouts in Sage easily adjustable
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-3.2.2
Component: doctest | Keywords:
----------------------+-----------------------------------------------------
This is a left over from #717. The fix here is to define some env
variables that can be used to overwrite the default doctesting timeouts.
Those are defined in sage-doctest right at the top:
{{{
# the default timeout for doctests: 6 minutes (in seconds)
TIMEOUT = 20
# the timeout value for long doctests: 30 minutes (in seconds)
TIMEOUT_LONG = 30 * 60
# the timeout for doctests running under valgrind tools: unreasonably long
TIMEOUT_VALGRIND = 1024*1024
}}}
Canonical names would be IMHO:
{{{
SAGE_TIMEOUT
SAGE_TIMEOUT_LONG
SAGE_TIMEOUT_VALGRIND
}}}
Bonus points for running some performance counter once and then adjusting
the timeout by some factor on slower machines.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4712>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---