#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 leif):
... so we could do almost the same for / below `SAGE_TESTDIR`, perhaps
creating a single directory name from `HOSTNAME` and the PID (avoiding
further race conditions, provided `$SAGE_TESTDIR` already exists), putting
all temporary files (names mangled as proposed, unique to each ''test
instance'') into that, i.e.
`${SAGE_TESTDIR}/${hostname}-${pid}/doctest-
relative__path__to__foo__foo.py`
for a file `./relative/path/to/foo/foo.py`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9739#comment:46>
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.