#5902: [with patch, positive review] Try SAGE_ROOT as base of argument to "sage
-t"
-------------------------+--------------------------------------------------
 Reporter:  tabbott      |       Owner:  mhansen   
     Type:  enhancement  |      Status:  assigned  
 Priority:  minor        |   Milestone:  sage-4.0.3
Component:  doctest      |    Keywords:            
 Reviewer:  Mike Hansen  |      Author:  Tim Abbott
   Merged:               |  
-------------------------+--------------------------------------------------

Comment(by was):

 > Running
 >
 > sage -t devel/sage/sage/rings/polynomial/pbori.pyx
 >
 > seems to not work for me sometimes when the current working directory is
 not SAGE_ROOT.

 It should not work.  "sage -t" is supposed to take the path to a file.  If
 you're not in SAGE_ROOT, then devel/sage/sage/rings/polynomial/pbori.pyx
 is not a file.  It's like with any other unix command.  E.g., you wouldn't
 expect
 {{{
 cat devel/sage/sage/rings/polynomial/pbori.pyx
 }}}
 to magically work if you're not in SAGE_ROOT.

 Note that Mike Hansen just gave this a positive review.  I strongly
 disagree.

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