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

Submitted by:  Rafael Laboissiere <rlaboiss>
Submitted on:  Mon 27 Aug 2018 10:40:55 PM UTC  
 
Category:  Octave Forge 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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 Laboissiere <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 Laboissiere <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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.5