[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54169] Test suite crashes when Octave built w
From: |
Andrew Janke |
Subject: |
[Octave-bug-tracker] [bug #54169] Test suite crashes when Octave built with Qt and FLTK |
Date: |
Sun, 24 Jun 2018 19:48:18 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36 |
Follow-up Comment #3, bug #54169 (project octave):
The patch kind of works. Looks like it sets up the toolkits right, but now
there are test suite failures.
Default `octave`:
$ /Applications/Octave-4.4.0.app/Contents/Resources/usr/bin/octave
GNU Octave, version 4.4.0
[...]
octave:1> available_graphics_toolkits
ans =
{
[1,1] = gnuplot
[1,2] = qt
}
With `octave --no-gui-libs`:
$ /Applications/Octave-4.4.0.app/Contents/Resources/usr/bin/octave
--no-gui-libs
GNU Octave, version 4.4.0
[...]
octave:1> available_graphics_toolkits
ans =
{
[1,1] = fltk
[1,2] = gnuplot
}
In the Qt GUI:
>> available_graphics_toolkits
ans =
{
[1,1] = gnuplot
[1,2] = qt
}
The test suite now runs to completion without crashing for me.
But looks like some tests contingent on `HAVE_FLTK` are now failing:
Summary:
PASS 14935
FAIL 12
XFAIL (reported bug) 54
>>>>> processing
/private/tmp/octave-octave-app_4.4.0-20180624-64959-y7qzxc/octave-4.4.0/scripts/plot/util/__opengl_info__.m
***** testif HAVE_OPENGL, HAVE_FLTK; have_window_system () && any (strcmp
("fltk", available_graphics_toolkits ()))
old_toolkit = graphics_toolkit ();
unwind_protect
graphics_toolkit ("fltk");
a = __opengl_info__ ();
unwind_protect_cleanup
graphics_toolkit (old_toolkit);
end_unwind_protect
assert (! isempty (a));
assert (isfield (a, "version"));
----- skipped test (runtime test)
[...]
Maybe these need to be conditioned on a run-time test for the toolkit?
Attaching a full test log.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54169>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/