#8641: "sage -t" should exit with nonzero exit code if doctests fail
----------------------------------------+-----------------------------------
   Reporter:  ddrake                    |       Owner:  tbd         
       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:                            |  
----------------------------------------+-----------------------------------

Comment(by ddrake):

 Replying to [comment:15 mpatel]:
 > I've attached a [attachment:trac_8641-doctest_exit_codes.patch combined,
 rebased patch].

 I fixed the hunk reject and your patch seems to work fine. The exit codes
 match up with what {{{sage-doctest}}} says (although I didn't check exit
 code 4, since I don't know how to make the doctesting framework raise an
 exception). I tried with individual files, directories, with and without
 "-long", so it seems to work pretty well on my Ubuntu machine.

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