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

Comment(by jhpalmieri):

 Oh, I forgot: I tested this with some non-library code, and it mostly
 worked.  I say "mostly" because when I set `SAGE_CHECK=yes` and installed
 the package at #9894, a bunch of files produced errors.  I got the
 following odd behavior:

  - before applying the patch, after spkg-check ran, it said that maybe a
 dozen files gave errors, but only 4 of them remained in `SAGE_TESTDIR` (4
 of them, plus their `.pyc` files, plus their `.doctest...` files).

  - after applying the patch: for the dozen files which gave errors, all of
 them remained in `SAGE_TESTDIR`, plus their `.pyc` files, plus only 4 of
 the `doctest...` files — the ones corresponding to the same 4 files as in
 the first case.

 I don't know what's going on here.  The spkg-check script is not a
 completely straightforward program; it doesn't just run "sage -tp" on some
 directory.  So that may cause some of the issues.  Anyway, there are
 better results after applying the patch than before, but it's still not
 perfect.

 For all of my other tests with non-library code, it worked just the way it
 should.

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