bugGNU Octave - Bugs: bug #48602, make check fails for gcbo.m

 
 

bug #48602: make check fails for gcbo.m

Submitter:  Robert Jenssen <morgawr>
Submitted:  Sat 23 Jul 2016 02:36:52 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Robert Jenssen Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 24 Jul 2016 01:17:15 AM UTC, comment #3: 

Works for me, thanks!

Robert Jenssen <morgawr>
Sat 23 Jul 2016 06:55:59 PM UTC, comment #2: 

I checked in the following changeset:

  http://hg.savannah.gnu.org/hgweb/octave/rev/20257791e358

John W. Eaton <jwe>
Group administrator
Sat 23 Jul 2016 04:11:34 PM UTC, comment #1: 

I saw those too.

However, once octave has been built and you try it with ./run-octave &, "test gcbo" and "test gcbf" PASS their test fine.

Philip Nienhuis <philipnienhuis>
Group Member
Sat 23 Jul 2016 02:36:52 PM UTC, original submission:  

I made a current build in /usr/local/src/octave-clean/build with:


#!/bin/sh

export CFLAGS="-std=c11 -ggdb3 -O0"
export CXXFLAGS="-std=c++11 -ggdb3 -O0"
export FFLAGS="-ggdb3 -O0"
#
../octave/configure --prefix=/usr/local/octave-dbg \
--disable-java  --disable-atomic-refcount --disable-openmp --disable-threads \
--enable-bounds-check --with-blas="-lblas" --with-lapack="-llapack" \
--without-fltk --without-qt --without-opengl --without-OSMesa \
--without-magick --without-portaudio --without-sndfile
#
make V=1 -j 6 && make install


When I run "make check" scripts/plot/util/gcbf.m and scripts/plot/util/gcbo.m fail.
The test/fntests.log is attached.

I have a less recent, optimised build in /usr/local/. Running the
following script:


#!/bin/sh

/usr/local/bin/octave -q --eval '__octave_config_info__.hg_id'
mkdir -p ta
cp /usr/local/share/octave/4.1.0+/m/plot/appearance/annotation.m ta
cp /usr/local/share/octave/4.1.0+/m/plot/appearance/axis.m ta
cp /usr/local/share/octave/4.1.0+/m/plot/appearance/title.m ta
cp -R /usr/local/share/octave/4.1.0+/m/plot/appearance/private ta
/usr/local/octave-dbg/bin/octave-cli -q \
    --eval "__run_test_suite__ ({['ta']},{['ta']});assert (isempty (gcbo))"


/usr/local/octave-dbg/bin/octave -q --eval '__octave_config_info__.hg_id'
mkdir -p tb
cp /usr/local/octave-dbg/share/octave/4.1.0+/m/plot/appearance/annotation.m tb
cp /usr/local/octave-dbg/share/octave/4.1.0+/m/plot/appearance/axis.m tb
cp /usr/local/octave-dbg/share/octave/4.1.0+/m/plot/appearance/title.m tb
cp -R /usr/local/octave-dbg/share/octave/4.1.0+/m/plot/appearance/private tb

/usr/local/octave-dbg/bin/octave-cli -q \
    --eval "__run_test_suite__ ({['tb']},{['tb']});assert (isempty (gcbo))"


gives:


ans = 6772baacd71f+

Integrated test scripts:

  ta/annotation.m ............................................. PASS     11/11
  ta/axis.m ................................................... PASS      3/3
  ta/title.m .................................................. PASS      3/3

Fixed test scripts:


Summary:

  PASS        17
  FAIL         0

See the file /usr/local/src/octave/fntests.log for additional details.

0 (of 3) .m files have no tests.

Please help improve Octave by contributing tests for these files
(see the list in the file /usr/local/src/octave/fntests.log).

ans = b3ced5e3cebb

Integrated test scripts:

  tb/annotation.m ............................................. PASS     11/11
  tb/axis.m ................................................... PASS      5/5
  tb/title.m .................................................. PASS      3/3

Fixed test scripts:


Summary:

  PASS        19
  FAIL         0

See the file /usr/local/src/octave/fntests.log for additional details.

0 (of 3) .m files have no tests.

Please help improve Octave by contributing tests for these files
(see the list in the file /usr/local/src/octave/fntests.log).

error: assert (isempty (gcbo)) failed
error: unhandled execution exception -- eval failed


Adding a "close" in the last line of the script fixes the assert failure:

/usr/local/octave-dbg/bin/octave-cli -q \
    --eval "__run_test_suite__ ({['tb']},{['tb']});close;assert (isempty (gcbo))"


Robert Jenssen <morgawr>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #37998:  fntests.log added by morgawr (122KiB - text/x-log - fntests.log for make check)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by morgawr (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-24 jwe Open/ClosedOpen Closed
    2016-07-24 jwe StatusReady For Test Fixed
    2016-07-23 jwe StatusConfirmed Ready For Test
    2016-07-23 philipnienhuis StatusNone Confirmed
    2016-07-23 morgawr Attached File- Added fntests.log, #37998

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code