#13928: Problematic file filter in skip() from sage-ptest
---------------------------------+------------------------------------------
       Reporter:  ncohen         |         Owner:  mvngu       
           Type:  defect         |        Status:  needs_review
       Priority:  major          |     Milestone:  sage-5.6    
      Component:  doctest        |    Resolution:              
       Keywords:                 |   Work issues:              
Report Upstream:  N/A            |     Reviewers:              
        Authors:  Nathann Cohen  |     Merged in:              
   Dependencies:                 |      Stopgaps:              
---------------------------------+------------------------------------------
Changes (by ncohen):

  * status:  new => needs_review


Old description:

> My computer has no processor, and that's because `sage -tp 4` refuses to
> test any file whose path contains the string `"/."`. That's a problem,
> for on my machine `SAGE_ROOT=/home/ncohen/.Sage` and all files get
> filtered. This patch removes this test, hoping that it was totally
> useless in the first place, which sounds.... unlikely `O_o`
>
> Apply the patch to SAGE_ROOT/local/bin/
>
> Nathann
>
> See the report on sage-devel :
> https://groups.google.com/forum/?hl=fr&fromgroups=#!topic/sage-
> devel/Ae8wLR0EgHA

New description:

 My computer has no processor, and that's because `sage -tp 4` refuses to
 test any file whose path contains the string `"/."`. That's a problem, for
 on my machine `SAGE_ROOT=/home/ncohen/.Sage` and all files get filtered.
 This patch removes this test, hoping that it was totally useless in the
 first place, which sounds.... unlikely `O_o`

 {{{
 ~/sage/sage/graphs$ sage -tp 4 .
 Global iterations: 1
 File iterations: 1
 Using cached timings to run longest doctests first.
 Doctesting 0 files doing 0 jobs in parallel
 Traceback (most recent call last):
   File "/home/ncohen/.Sage/local/bin/sage-ptest", line 445, in <module>
     p = multiprocessing.Pool(numthreads)
   File "/home/ncohen/.Sage/local/lib/python/multiprocessing/__init__.py",
 line 232, in Pool
     return Pool(processes, initializer, initargs, maxtasksperchild)
   File "/home/ncohen/.Sage/local/lib/python/multiprocessing/pool.py", line
 129, in __init__
     raise ValueError("Number of processes must be at least 1")
 ValueError: Number of processes must be at least 1
 ~/sage/sage/graphs$
 }}}

 Apply the patch to SAGE_ROOT/local/bin/

 Nathann

 See the report on sage-devel :
 https://groups.google.com/forum/?hl=fr&fromgroups=#!topic/sage-
 devel/Ae8wLR0EgHA

--

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