diff libinterp/corefcn/graphics.cc @ 21511:e1c5aca1c798

Fix failing tests when building with --without-opengl * graphics.cc, __osmesa_print__.cc, uimenu.m, allchild.m, findall.m, graphics_toolkit.m: Fix failing BIST tests when building with --without-opengl by adding HAVE_OPENGL to the test preconditions.
author Mike Miller <mtmiller@octave.org>
date Mon, 21 Mar 2016 15:01:12 -0700
parents 40de9f8f23a6
children 38c0c1f5cf57
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.cc	Sun Mar 20 21:39:49 2016 +0000
+++ b/libinterp/corefcn/graphics.cc	Mon Mar 21 15:01:12 2016 -0700
@@ -4587,7 +4587,7 @@
 }
 
 /*
-%!testif HAVE_FLTK
+%!testif HAVE_OPENGL, HAVE_FLTK
 %! hf = figure ("visible", "off");
 %! graphics_toolkit (hf, "fltk");
 %! unwind_protect
@@ -4606,7 +4606,7 @@
 %! unwind_protect_cleanup
 %!   close (hf);
 %! end_unwind_protect
-%!testif HAVE_FLTK
+%!testif HAVE_OPENGL, HAVE_FLTK
 %! hf = figure ("visible", "off");
 %! graphics_toolkit (hf, "fltk");
 %! fpos = get (hf, "position");
@@ -4625,7 +4625,7 @@
 %! unwind_protect_cleanup
 %!   close (hf);
 %! end_unwind_protect
-%!testif HAVE_FLTK
+%!testif HAVE_OPENGL, HAVE_FLTK
 %! hf = figure ("visible", "off");
 %! graphics_toolkit (hf, "fltk");
 %! fpos = get (hf, "position");