#9739: Handle duplicate file basenames when testing multiple files in parallel
-------------------------------+--------------------------------------------
Reporter: mpatel | Owner: mvngu
Type: defect | Status: needs_work
Priority: critical | Milestone: sage-4.7.1
Component: doctest | Keywords: doctest scripts
Work_issues: | Upstream: N/A
Reviewer: Robert Bradshaw | Author: Mitesh Patel
Merged: | Dependencies:
-------------------------------+--------------------------------------------
Comment(by jhpalmieri):
> I see no reason for doing so.
There are several reasons for doing so: one is to not reinvent the wheel,
and anything we come up with is likely to be less robust than what's built
into Python. Also, if we want to doctest outside of `$HOME/.sage`, is
`/tmp` always the best place? The mkstemp function doesn't always create
files there, so I'm not convinced we should.
By the way, using the PID in the directory name means creating many
directories: as far as I can tell, running `sage -t DIR` uses a different
process for each file in DIR. Perhaps the PID should be in the mangled
filename instead of part of a new directory.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9739#comment:50>
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.