bugGNU Octave - Bugs: bug #54581, [octave forge] (vibes) Unit tests...

 
 

bug #54581: [octave forge] (vibes) Unit tests of drawBox.m fail if interval package is not installed

Submitter:  Rafael Laboissière <rlaboiss>
Submitted:  Mon 27 Aug 2018 10:40:55 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 27 Aug 2018 10:57:55 PM UTC, comment #1: 

The original patch contain some typos. An improved version is newly attached.

(file #44881)

Rafael Laboissière <rlaboiss>
Mon 27 Aug 2018 10:40:55 PM UTC, original submission:  

Some unit tests in file inst/+vibes/drawBox.m fail when the interval package is not installed:


octave:1> pkg load vibes
octave:2> test drawBox
***** shared ix,iy,iz,dx,dy,dz,rx,ry,rz
 pkg load interval
 vibes.beginDrawing
 x = [ 0  2 ; ...
       7 22 ];
 y = [ 1 2 3 4 ; ...
       2 3 4 5 ];
 z = [ 1 2 ; ...
       3 4 ; ...
       5 6 ; ...
       7 8 ];
 ix = infsup (x)
 iy = infsup (y)
 iz = infsup (z)
 dx = infsupdec (x)
 dy = infsupdec (y)
 dz = infsupdec (z)
 rx = infsup (x, x + 100)
 ry = infsup (y, y + 100)
 rz = infsup (z, z + 100)
!!!!! test failed
package interval is not installed


This can be fixed with the patch attached to this bug report.

Rafael Laboissière <rlaboiss>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rlaboiss (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-27 rlaboiss Attached File- Added skip-test-if-no-interval-pkg.patch, #44881
    2018-08-27 rlaboiss Attached File- Added skip-test-if-no-interval-pkg.patch, #44880

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code