#4736: [with patch, needs work] The doctesting doesn't always report segfaults
properly
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: gfurnish
Type: defect | Status: assigned
Priority: major | Milestone: sage-3.2.2
Component: doctest | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Changes (by mabshoff):
* summary: [with patch, needs review] The doctesting doesn't always
report segfaults properly => [with patch, needs
work] The doctesting doesn't always report
segfaults properly
Comment:
Patch looks nice, but there are two small problems:
For -t the new line is missing before the time is being printed. I
consider this cosmetic, but other people might be annoyed:
{{{
sage -t "devel/sage/sage/combinat/sf/homogeneous.py" [3.1 s]
}}}
CTRL-C isn't caught properly - at least it shouldn't print "Error!!!" with
"-t":
{{{
sage -t "devel/sage/sage/combinat/sf/jack.py" Error!!!
[8.5 s]
}}}
For -tp CTRL-C now seems to kill all doctests:
{{{
sage -t devel/doc/const/const.tex
Error!!!
[1.8 s]
sage -t devel/doc/tut/tut.tex
Error!!!
[1.7 s]
sage -t devel/doc/prog/prog.tex
Error!!!
[1.8 s]
The following tests failed:
sage -t devel/doc/const/const.tex # KeyboardInterrupt
sage -t devel/doc/tut/tut.tex # KeyboardInterrupt
sage -t devel/doc/prog/prog.tex # KeyboardInterrupt
-------------------------------------------------------------------
}}}
I think this is the desired behavior since now the timeout kills run away
jobs properly.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4736#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---