#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):
P.S. It does sound like using subprocess.call might be more portable; its
docs have fewer warnings about undefined return values.
It does throw a KeyboardInterrupt itself when the called program gets a
SIGINT, though, so we may have to catch that to execute the line
{{{
failed.append(sage_test_command(F)+" # KeyboardInterrupt")
}}}
I'll take a closer look at the patch later today.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8641#comment:12>
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.