bugGNU Octave - Bugs: bug #62314, [octave forge] (queueing) Test...

 
 

bug #62314: [octave forge] (queueing) Test failure with Octave 7

Submitter:  Sébastien Villemot <svillemot>
Submitted:  Thu 14 Apr 2022 08:48:45 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 7.1.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 14 Apr 2022 05:34:05 PM UTC, comment #2: 

Thanks. I also added your patch to MXE Octave until there is a release with this fixed:
https://hg.octave.org/mxe-octave/rev/8fcac4d6d983

Markus Mützel <mmuetzel>
Group administrator
Thu 14 Apr 2022 08:59:01 AM UTC, comment #1: 

Here is the patch that has been applied to the Debian package.


(file #53089)

Sébastien Villemot <svillemot>
Thu 14 Apr 2022 08:48:45 AM UTC, original submission:  

With Octave 7.1.0 and queueing 1.2.7:


octave:1> pkg load queueing
octave:2> test qnmknode
***** test
 fail( "qnmknode( 'pippo', 1 )", "must be one" );
 fail( "qnmknode( '-/g/1-ps', 1, 1, 1)", "Invalid call" );
!!!!! test failed
expected error <Invalid call>
but got <print_usage: function called with too many outputs>


The problem comes from the fact that print_usage() is called within a logical expression. Since print_usage() does not return a value, this fails with Octave 7 since the latter does stricter checks on number of output arguments.

Sébastien Villemot <svillemot>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #53089:  octave7.patch added by svillemot (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by svillemot (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-04-14 svillemot Attached File- Added octave7.patch, #53089

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code