# HG changeset patch # User Rik # Date 1478838600 28800 # Node ID e078f56077621617916deb99e8817a7598e58871 # Parent e6bf4f8920d3a42c12eb08dfcb06f5f0c096aeeb 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. diff -r e6bf4f8920d3 -r e078f5607762 libinterp/corefcn/toplev.cc --- 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) */