#12805: Do not create SAGE_TESTDIR/tmp
----------------------------------------------+-----------------------------
Reporter: jhpalmieri | Owner: mvngu
Type: defect | Status: needs_review
Priority: blocker | Milestone: sage-5.0
Component: doctest | Resolution:
Keywords: sage-test SAGE_TESTDIR tmp | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
----------------------------------------------+-----------------------------
Comment (by jhpalmieri):
A few ways to test this:
1. Remove the directory `DOT_SAGE/tmp`, and then doctest a single file:
`./sage -t devel/sage/sage/tests/arxiv_0812_2725.py`. If you haven't
applied the patch, then after testing has completed, you should see
`DOT_SAGE/tmp` (which is `SAGE_TESTDIR`) but also `DOT_SAGE/tmp/tmp`
(which is useless). After applying the patch, this last directory should
not be present.
2. Run `./sage -tp devel/sage/sage/tests/cmdline.py`. If you haven't
applied the patch, you should see a message like
{{{
sage -t --long devel/sage/sage/tests/cmdline.py
[24.3 s]
----------------------------------------------------------------------
The temporary doctesting directory
/Users/palmieri/.sage/tmp/jpalmieri538.math.washington.edu-92341
was not removed: it is not empty, presumably because doctests
failed or doctesting was interrupted.
----------------------------------------------------------------------
All tests passed!
Total time for all tests: 24.3 seconds
}}}
If you have applied the patch, then you won't see the part about the
directory not being empty.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12805#comment:2>
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.