bugGNU Octave - Bugs: bug #57786, __run_test_suite__ causes all...

 
 

bug #57786: __run_test_suite__ causes all subsequent warning messages to be suppressed

Submitter:  Mike Miller <mtmiller>
Submitted:  Tue 11 Feb 2020 01:56:26 AM UTC
   
 
Category:  Octave Function Severity:  4 - Important
Priority:  5 - Normal Item Group:  Missed Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 11 Feb 2020 03:11:23 AM UTC, comment #2: 
Mike Miller <mtmiller>
Group Member
Tue 11 Feb 2020 02:33:43 AM UTC, comment #1: 

Running


>> warning ("off", "quiet");


fixes this state. The "quiet" state is not stored in the 'orig_wstate' local variable, so it doesn't get restored at the end of the function. Should be easy to fix in the unwind_protect_cleanup, I will take care of this.

Mike Miller <mtmiller>
Group Member
Tue 11 Feb 2020 01:56:26 AM UTC, original submission:  

Running the full test suite with '__run_test_suite__' does something to the interpreter warning state that suppresses subsequent output.

Example:


>> warning ("this is a plain warning message");
warning: this is a plain warning message
>> __run_test_suite__ ({}, {});

Integrated test scripts:



>> warning ("this is a plain warning message");
>> warning ("on");
>> warning ("this is a plain warning message");
>> warning ("on", "all");
>> warning ("this is a plain warning message");


Mike Miller <mtmiller>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2020-02-11 mtmiller StatusConfirmed Fixed
    Open/ClosedOpen Closed
2020-02-11 mtmiller StatusNone Confirmed
2020-02-11 mtmiller Carbon-CopyRemoved 80942 -

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code