#9243: sage-doctest should use powers of 2 for return codes
---------------------------+------------------------------------------------
   Reporter:  ddrake       |       Owner:  mvngu       
       Type:  enhancement  |      Status:  needs_review
   Priority:  minor        |   Milestone:  sage-5.0    
  Component:  doctest      |    Keywords:              
     Author:               |    Upstream:  N/A         
   Reviewer:               |      Merged:              
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by wjp):

 Thanks for adding me to CC.

 I like this patch. There's one more instance, though: test_file in sage-
 ptest uses 5 as its own internal error code for unhandled exception. We
 should probably change that to 32. (And keep that one reserved.)

 If #9316 is rebased on top of this one (which I can do), it will use error
 code 64 for timeouts.

 All 8 available bits are then in use, so if we want to add more error
 conditions after that, we'll have to re-think this, or merge some error
 flags together.


 Meta-comment: there are now three doctest related patches that I'm aware
 of, and that should probably all be merged. I would suggest this order:
 #9243, #9316, #8641.

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