#9739: Handle duplicate file basenames when testing multiple files in parallel
-------------------------------+--------------------------------------------
   Reporter:  mpatel           |       Owner:  mvngu          
       Type:  defect           |      Status:  needs_work     
   Priority:  blocker          |   Milestone:  sage-4.6.1     
  Component:  doctest          |    Keywords:  doctest scripts
     Author:  Mitesh Patel     |    Upstream:  N/A            
   Reviewer:  Robert Bradshaw  |      Merged:                 
Work_issues:                   |  
-------------------------------+--------------------------------------------

Comment(by drkirkby):

 Replying to [comment:23 robertwb]:
 > +1 to temp (per instance) directories. They would get cleaned up
 properly, and /tmp is almost always fast and local which is another plus.
 >
 > (Really, we shouldn't have to be writing these files out at all...)

 I'm not sure if you are agreeing with me or Leif there Robert - perhaps
 you can clarify.

 I was going to suggest that we should be using /tmp, but I did not since I
 can see a disadvantage of it. NFS file systems have caused problems with
 doc tests failing, especially if they are mis-configured. As such, it
 would be better if a user tested Sage on the file system where it will be
 used. By using /tmp they might get a false sense of security. That said,
 using /tmp for temporary files has been the norm for years.

 I personally think where reasonably practical, we should stop multiple
 instances of running Sage tests interfering with each other. Although Leif
 considers this a user error, it is one that a user might easily make.

 But if it possible to avoid creating temporary files, then that should be
 done. But I would imagine that requires more changes than just adding a
 pid or hostname.

 Dave

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