#19519: flag long test with time indication
-------------------------+-------------------------------------------------
Reporter: | Owner:
vdelecroix | Status: new
Type: | Milestone: sage-6.10
enhancement | Resolution:
Priority: major | Merged in:
Component: | Reviewers:
doctest framework | Work issues:
Keywords: | Commit:
Authors: | eb22160ae80d249493fff9007cec1d94809508df
Vincent Delecroix | Stopgaps:
Report Upstream: N/A |
Branch: |
public/19519 |
Dependencies: |
-------------------------+-------------------------------------------------
Changes (by {'newvalue': u'Vincent Delecroix', 'oldvalue': ''}):
* commit: => eb22160ae80d249493fff9007cec1d94809508df
* branch: => public/19519
* author: => Vincent Delecroix
Old description:
> In order to skip too long doctests we introduce time indications to `long
> time` flag like
> {{{
> sage: (2**2000 + 31).is_prime() # long time: 1h
> }}}
> The allowed units are: `s` (seconds), `m` (minutes), `h` (hours), `d`
> (days).
>
> We also modify the `--long` option of `sage -t` to allow skipping too
> long default (with a default at 10 sec).
New description:
In order to skip too long doctests we introduce time indications to `long
time` flag like
{{{
sage: (2**2000 + 31).is_prime() # long time: 1h
}}}
The allowed units are: `s` (seconds), `m` (minutes), `h` (hours), `d`
(days).
We also:
- modify the `--long` option of `sage -t` to allow skipping too long
(with a default of 10 sec)
- document it in the manual
--
Comment:
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=eb22160ae80d249493fff9007cec1d94809508df
eb22160]||{{{Trac 19519: allow a new flag in the doctest parser}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/19519#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.