#9243: sage-doctest should use powers of 2 for return codes
---------------------------+------------------------------------------------
Reporter: ddrake | Owner: mvngu
Type: enhancement | Status: new
Priority: minor | Milestone: sage-5.0
Component: doctest | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Right now, sage-doctest uses these return codes:
{{{
# Return value in process exit code:
# 0: all tests passed
# 1: file not found
# 2: KeyboardInterrupt
# 3: doctest process was terminated by a signal
# 4: the doctesting framework raised an exception
# 100: failed doctests
}}}
In #8641 and #9224, we make sure that the return code gets passed on to
the user, and for multiple files, we `or' the return codes together. It
would be much nicer for the user if we used powers of 2 for return codes,
so that it's easy to see exactly what happened.
I recommend we change 3->4, 4->8, and 100->128 in sage-doctest.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9243>
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.