#12415: Update doctesting framework
-------------------------------------------------------------------------------------------------------------------------+
       Reporter:  robertwb                                                      
                                         |         Owner:  mvngu       
           Type:  enhancement                                                   
                                         |        Status:  needs_review
       Priority:  major                                                         
                                         |     Milestone:  sage-5.1    
      Component:  doctest                                                       
                                         |    Resolution:              
       Keywords:                                                                
                                         |   Work issues:              
Report Upstream:  N/A                                                           
                                         |     Reviewers:              
        Authors:                                                                
                                         |     Merged in:              
   Dependencies:  #13147,#13146, #13145, #12723, #12392, #12393, #12395, 
#12396, #12397, #12381, #12382, #12383, #12384  |      Stopgaps:              
-------------------------------------------------------------------------------------------------------------------------+

Comment (by jhpalmieri):

 One regression: with the old set-up, running `sage -tp FILES` (with no
 argument for `tp`) would choose the number of threads automatically. With
 the new set-up, this command gives an error, because `FILES` is not an
 integer. Therefore I think that, for example, `make ptestlong` will fail.
 (The file sage-runtests says that the default value for nthreads is 1, but
 I don't think optparse is dealing with the missing argument properly here.
 Also, passing the argument 0 causes doctests to never happen: maybe it's
 using 0 threads instead of `minimum(8, cpu_count())`.

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

Reply via email to