#9967: Allow concurrent running/testing of multiple sage branches
---------------------------------------+------------------------------------
   Reporter:  robertwb                 |       Owner:  ddrake    
       Type:  defect                   |      Status:  needs_work
   Priority:  major                    |   Milestone:  sage-4.6.1
  Component:  doctest                  |    Keywords:            
     Author:  Robert Bradshaw          |    Upstream:  N/A       
   Reviewer:  Dan Drake, John Cremona  |      Merged:            
Work_issues:                           |  
---------------------------------------+------------------------------------

Comment(by ddrake):

 The patch I just uploaded still has some debugging statements but
 represents some progress.

 There is still something in the doctesting framework that is using the
 symlink to the default branch and not using SAGE_BRANCH: if I doctest in
 the -main branch while -foo is the default, and delete the -foo branch, I
 get:

 {{{
 sage -t  devel/sage-main/sage/combinat/generator.py
 Traceback (most recent call last):
   File "/home/drake/.sage//tmp/generator.py", line 2, in <module>
     from sage.all_cmdline import *;
   File "/home/drake/s/sage-4.6.alpha3/devel/sage-
 main/build/sage/all_cmdline.py", line 14, in <module>
     from sage.all import *
   File "/home/drake/s/sage-4.6.alpha3/devel/sage-main/build/sage/all.py",
 line 56, in <module>
     from sage.rings.memory import pmem_malloc
 ImportError: libcsage.so: cannot open shared object file: No such file or
 directory

          [0.3 s]
 }}}

 The ImportError occurs because whatever Python process is running that
 last line hasn't inherited our custom PYTHONPATH. (I think.)

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