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

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

[Octave-bug-tracker] [bug #49767] publish.tst failure when OSMesa exclud


From: Rik
Subject: [Octave-bug-tracker] [bug #49767] publish.tst failure when OSMesa excluded from build
Date: Tue, 6 Dec 2016 04:53:26 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #11, bug #49767 (project octave):

Sorry to chime in after you've done so much research, but I don't think we
need to go to great lengths here.

The current code fails if OSMESA is not available.  That's not really a
failure of the publish function, its a failure to be able to draw offscreen.

Since we don't have a way to pass out-of-band information to the test.m
function to indicate this is should be skipped, and you're concerned about
reporting a failure when this happens, why not just mark the tests as
passing.


%! if (ispc () || ! __have_feature__ ("OSMESA"))
%!   try
%!     graphics_toolkit ("gnuplot");
%!   catch
%!     ## The system doesn't support OSMESA or gnuplot for drawing hidden
%!     ## figures.  Just return and have test marked as passing.
%!     return;
%!   end_try_catch
%! endif




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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