#8641: "sage -t" should exit with nonzero exit code if doctests fail
---------------------------+------------------------------------------------
Reporter: ddrake | Owner: tbd
Type: enhancement | Status: needs_review
Priority: minor | Milestone:
Component: doctest | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Comment(by wjp):
I wonder if something else could be happening. Possibly by coincidence, 2
is also SIGINT. Could it be that on sage.math the sage-doctest script
itself is being killed by the Ctrl-C instead of the doctest it is running?
After all, if you trigger one of the other error cases (like regular error
failures), they are caught on sage.math properly.
Also, a transcript from sage.math:
{{{
sage: os.system("true")
0
sage: os.system("false")
256
sage: os.system("sleep 100")
[press Ctrl-C]
2
}}}
So the return values of {{{os.system}}} seem to match the specs.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8641#comment:11>
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.