#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 ddrake):
Replying to [comment:9 jhpalmieri]:
> This isn't quite working for me: I get errors if I do "sage -t -long
FILE". I'm attaching a patch on top of yours which fixes it for me on my
iMac, on sage.math, and on t2 (Solaris).
Ah, nice catch. I didn't test with -long. I took your patch and it works
properly on my Ubuntu machines and on bsd.math.
wjp, could you take a look at these patches? I think everything is fine,
but another opinion would be nice.
Also, we still should work on sage-ptest; as pointed out at #7995, there's
duplicated code there. But at least with this ticket, we can easily use
Mercurial's bisect command to track down failing doctests.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8641#comment:10>
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.