Mercurial > octave
changeset 22751:e078f5607762 stable
Fix failing BIST test in toplev.cc (bug #49575).
* toplev.cc: Change BIST tests to check that __octave_config_info__ for
"version" returns the same string as OCTAVE_VERSION.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 10 Nov 2016 20:30:00 -0800 |
parents | e6bf4f8920d3 |
children | ee34028f63fc |
files | libinterp/corefcn/toplev.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/toplev.cc Sat Nov 05 14:50:15 2016 +0530 +++ b/libinterp/corefcn/toplev.cc Thu Nov 10 20:30:00 2016 -0800 @@ -667,12 +667,12 @@ /* %!assert (ischar (__octave_config_info__ ("version"))) +%!assert (__octave_config_info__ ("version"), OCTAVE_VERSION ()) %!test %! x = __octave_config_info__ (); %! assert (isstruct (x)); %! assert (! isempty (x)); - -%!assert (__octave_config_info__ ("fftw_version"), __octave_config_info__ ("fftwf_version")) +%! assert (x.version, OCTAVE_VERSION ()); %!error __octave_config_info__ (1, 2) */