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

 
 

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

Submitted by:  Rafael Laboissiere <rlaboiss>
Submitted on:  Mon 04 May 2015 04:53:39 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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:

A trivial cset for fixing this problem is also 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 File(s):
   
   
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
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by rlaboiss (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 15 May 2015 11:15:35 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 04 May 2015 04:53:39 PM UTCrlaboissAttached File-=>Added foobar.m, #33899
      Attached File-=>Added show-error-message-in-pager.diff, #33900

    Back to the top


    Powered by Savane 3.1-cleanup1