bugGNU Octave - Bugs: bug #45007, Show test() error message along...

 
 

bug #45007: Show test() error message along shared variables section in pager

Submitter:  Rafael Laboissière <rlaboiss>
Submitted:  Mon 04 May 2015 04:53:39 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
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
   

Fri 15 May 2015 11:15:35 PM UTC, comment #1: 

Thanks for the patch.  This makes a lot of sense.  I committed it here (http://hg.savannah.gnu.org/hgweb/octave/rev/10414d7a25f8) on the development branch.  The only thing I did was change the commit message to add the bug number at the end of the summary "(bug #45007)."  This helps us if we ever have to undo or modify a changeset because we also know that we need to make sure that we don't re-introduce that particular bug again.

Rik <rik5>
Group administrator
Mon 04 May 2015 04:53:39 PM UTC, original submission:  

If the test() function detects an error in a unit test, then the pager is invoked (provided that we are in "more on" mode) when the shared variables section is too long to fit the terminal.  When this happens, the error message itself does not goes through the pager and can only be accessed by quitting the pager and scrolling up the terminal lines.

This behavior can be verified with the function foobar.m (attached below) by  typing:


test foobar


A trivial cset for fixing this problem is also 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
file #33899:  foobar.m added by rlaboiss (90B - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-15 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2015-05-04 rlaboiss Attached File- Added foobar.m, #33899
        Attached File- Added show-error-message-in-pager.diff, #33900

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code