#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):
Still, the best thing is to not create temporary files at all.
(And only dump what would have been written in case of doctest errors,
once at the end, with the "same problems", though identical filenames
would there be even more unlikely, and could easily be numbered.)
But that's probably for another ticket; we should IMHO here only
''quickly'' fix the most prominent errors, namely identical filenames
within the ''same'' `ptest`[`long`] instance. If we also allow
simultaneous testing of the same or different Sage installations, that's
ok, but a pretty minor issue, because -- in contrast to the former -- you
can trivially avoid race conditions between such concurrent `ptest` runs.
(And a normal user wouldn't do the latter either.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9739#comment:51>
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.