#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):

 To me it would -- at least for the moment, or this ticket -- be totally
 sufficient to have unique filenames by mangling the relative path into the
 temporary filename.

 If someone wants to test multiple Sage installations at the same time, he
 can simply set `SAGE_TESTDIR` to different locations in each shell.

 Doctesting in (or below) `$DOT_SAGE` (which is usually `$HOME/.sage/`) is
 IMHO a bad idea anyway, not only because `/tmp/` is much more likely to be
 [on] a local filesystem than `/home/`. (It is usually also faster and
 auto-cleaned.) Creating a unique temporary directory there shouldn't be a
 problem.

 For the sake of ''"For whitespace errors see ..."'', failing files could
 still be copied elsewhere (to a perhaps more persistent location) at the
 end of the doctest process.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9739#comment:43>
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.

Reply via email to