#18558: Test all installed optional packages by default
-------------------------------------+-------------------------------------
       Reporter:  ncohen             |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.8
      Component:  doctest framework  |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Nathann Cohen,     |    Reviewers:  Jeroen Demeyer, Karl-
  Jeroen Demeyer                     |  Dieter Crisman, John Palmieri
Report Upstream:  N/A                |  Work issues:
         Branch:  u/jdemeyer/18558   |       Commit:
   Dependencies:  #18456, #18124,    |  e3f463d32d4d05a55f8cee4315bb01d9c5de2da2
  #18559, #18563, #18579, #18581     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by slabbe):

 * status:  needs_review => needs_work


Comment:

 Optional packages that are outside of sage (like graphviz and mathematica)
 are currently not detected as tags. With mathematica 10.0 and sage
 6.8.beta3 and graphviz and this ticket I get:

 {{{
 $ sage -t src/sage/interfaces/mathematica.py
 ----------------------------------------------------------------------
 All tests passed!
 ----------------------------------------------------------------------
 }}}

 but

 {{{
 sage -t --optional=mathematica src/sage/interfaces/mathematica.py
 ----------------------------------------------------------------------
 sage -t src/sage/interfaces/mathematica.py  # 50 doctests failed
 ----------------------------------------------------------------------
 }}}

 Similarly, less tests are done because the tag graphviz is not detected:

 {{{
 $ sage -t src/sage/graphs/graph_latex.py
 Git branch: t/18558
 Optional tags: dot2tex,gcc,mpir,python2,sage,scons
 Doctesting 1 file.
 sage -t src/sage/graphs/graph_latex.py
     [186 tests, 0.17 s]
 ----------------------------------------------------------------------
 All tests passed!
 ----------------------------------------------------------------------
 }}}

 compared to

 {{{
 $ sage -t --optional=graphviz,sage,dot2tex src/sage/graphs/graph_latex.py
 Git branch: t/18558
 Optional tags: dot2tex,graphviz,sage
 Doctesting 1 file.
 sage -t src/sage/graphs/graph_latex.py
     [190 tests, 2.48 s]
 ----------------------------------------------------------------------
 All tests passed!
 ----------------------------------------------------------------------
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18558#comment:136>
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