octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53151] Clang OSX buildbot failing


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #53151] Clang OSX buildbot failing
Date: Tue, 6 Mar 2018 10:00:00 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #29, bug #53151 (project octave):

A bad verbatim tag caused text to be omitted from comment 27.  Here it is:


!!!!! test failed
getframe: not implemented for gnuplot graphics toolkit
***** testif HAVE_QT_OFFSCREEN
 hf = figure ("visible", "off");
 unwind_protect
   hax = axes ("visible", "off", "position", [0 0 1 1]);
   verts = [0 0; .5 0; 1 0; ...
            0 .5; .5 .5; 1 .5; ...
            0 1; .5 1; 1 1];
   faces = [1 2 5 4; 2 3 6 5; 4 5 8 7; 5 6 9 8];
   fvc = [1 0 0; 0 1 0; 0 0 1; 1 0 1];
   patch ("vertices", verts, "faces", faces, "facevertexcdata", fvc, ...
          "facecolor", "flat");

   kk = 1;
   pos = get (hf, "position");

   for jj = [0.05 0.55]
     for ii = [0.05 0.55]
       rect = [ii jj .4 .4].*[pos(3:4) pos(3:4)];
       frame = getframe (hax, rect).cdata;
       assert (frame(:,:,1) == fvc(kk,1)*255);
       assert (frame(:,:,2) == fvc(kk,2)*255);
       assert (frame(:,:,3) == fvc(kk,3)*255);
       kk++;
     endfor
   endfor
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
getframe: not implemented for gnuplot graphics toolkit


Ah.  On other systems, we run the make check process with a virtual
framebuffer:


xvfb-run -a -s '-screen 0 640x480x24' make V=1 check


>From a quick check for xvfb-run on OS X it wasn't clear to me whether this is
possible on OS X.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53151>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]