#8641: "sage -t" should exit with nonzero exit code if doctests fail
----------------------------------------+-----------------------------------
   Reporter:  ddrake                    |       Owner:  ddrake      
       Type:  enhancement               |      Status:  needs_review
   Priority:  minor                     |   Milestone:  sage-5.0    
  Component:  doctest                   |    Keywords:              
     Author:  Dan Drake, John Palmieri  |    Upstream:  N/A         
   Reviewer:                            |      Merged:              
Work_issues:                            |  
----------------------------------------+-----------------------------------
Changes (by ddrake):

  * owner:  tbd => ddrake


Comment:

 mpatel: on line 337 of sage-ptest and line 176 of sage-test, your patch
 (attachment:trac_8641-doctest_exit_codes.2.patch) always sets err = 2. Can
 you change that to
 {{{
    err = 2 | err
 }}}
 ? Then, if doctesting a bunch of files and hit ctrl-c, you can tell the
 difference between "all the tests that ran passed" and "there was at least
 one doctest failure". (And other errors that might have happened before
 you hit ctrl-c.)

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