#8834: make R png graphics doctests optional
------------------------+---------------------------------------------------
   Reporter:  was       |       Owner:  jason, was
       Type:  defect    |      Status:  new       
   Priority:  blocker   |   Milestone:  sage-4.4.1
  Component:  graphics  |    Keywords:            
     Author:            |    Upstream:  N/A       
   Reviewer:            |      Merged:            
Work_issues:            |  
------------------------+---------------------------------------------------
 {{{
 Hi,

 Continuing this thread, I think that building Sage shouldn't require X11.
 E.g., on t2, the new R png tests fail:

 File
 "/scratch/wstein/build/sage-4.4.1.alpha2/devel/sage/sage/interfaces/r.py",
 line 993:
     sage: r.png(filename='"%s"'%filename) # filename not needed in
 notebook, used for doctesting
 Exception raised:
 ...
     sage: r.png(filename='"%s"'%filename) # filename not needed in
 notebook, used for doctesting
       File "/scratch/wstein/build/sage-4.4.1.alpha2/local/lib/python/site-
 packages/sage/interfaces/r.py
 ", line 356, in png
         raise RuntimeError, "R was not compiled with PNG support"
     RuntimeError: R was not compiled with PNG support
 *******************************************************************

 ---

 Unfortunately, this really means that those tests should all be changed to
 be

    # optional -- x11

 They won't get tested by "make test".  However, doing

   ./sage -t -only_optional=x11 devel/sage/sage/

 will test them.  The release manager checklist will suggest to do this
 check.

 I've opened a ticket for this:

 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8834>
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