#17236: doctesting: print used optional parameters
---------------------------------+----------------------------
   Reporter:  jakobkroeker       |            Owner:
       Type:  enhancement        |           Status:  new
   Priority:  trivial            |        Milestone:  sage-6.4
  Component:  doctest framework  |         Keywords:
  Merged in:                     |          Authors:
  Reviewers:                     |  Report Upstream:  N/A
Work issues:                     |           Branch:
     Commit:                     |     Dependencies:
   Stopgaps:                     |
---------------------------------+----------------------------
 when running doctests with optional parts (e.g. involving Magma):
 {{{
 ./sage -t --optional=sage,magma
 }}}
 the doctest framework does not print used optional flags at intermediate
 output,
 e.g. in case a test fails. So instead of proposed
 {{{
 sage -t --long --optional=sage,magma
 src/sage/rings/polynomial/polynomial_rational_flint.pyx  # 1 doctest
 failed
 }}}
 the user will see
 {{{
 sage -t --long src/sage/rings/polynomial/polynomial_rational_flint.pyx  #
 1 doctest failed
 }}}

 Also if a user runs the tests via {{{./sage --nodotsage -t }}} or via
 {{{/home/..../sage --nodotsage -t }}}
 maybe he should see {{{./sage  --nodotsage ...}}} instead of {{{sage -t
 ...}}} ?

--
Ticket URL: <http://trac.sagemath.org/ticket/17236>
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.

Reply via email to