[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62314] [octave forge] (queueing) Test failure
From: |
Sébastien Villemot |
Subject: |
[Octave-bug-tracker] [bug #62314] [octave forge] (queueing) Test failure with Octave 7 |
Date: |
Thu, 14 Apr 2022 04:48:47 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62314>
Summary: [octave forge] (queueing) Test failure with Octave 7
Project: GNU Octave
Submitted by: svillemot
Submitted on: jeu. 14 avril 2022 08:48:45 UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 7.1.0
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
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.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62314>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62314] [octave forge] (queueing) Test failure with Octave 7,
Sébastien Villemot <=