patchGNU Octave - Patches: patch #8963, show test failures on stdout when...

 
 

patch #8963: show test failures on stdout when building verbosely

Submitter:  Mike Miller <mtmiller>
Submitted:  Thu 31 Mar 2016 02:19:59 AM UTC
   
 
Category:  Core : other Priority:  3 - Low
Status:  Done Privacy:  Public
Assigned to:  mtmiller Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 15 Mar 2017 11:42:00 PM UTC, comment #1: 

I checked in a modified version of your script here:

http://hg.savannah.gnu.org/hgweb/octave/rev/feaf0b0e0b1f

I fixed the check targets to use it instead of just dumping the contents of fntests.log to the screen.

Instead of eliminating all output from skipped or failed tests, the test code and up to 32 lines of output are displayed.  I'm not sure whether this is the best choice, but I think some output should be displayed just as a reminder/notice of what is failing or skipped.

John W. Eaton <jwe>
Group administrator
Thu 31 Mar 2016 02:19:59 AM UTC, original submission:  

I'd like to be able to show the output of test failures on standard output, but without the full contents of the fntests.log file, only the actual failed tests. Talked on irc a week ago or so and the best solution we came up with was to filter fntests.log after the full test run completes. And jwe suggested we could hook it into the make rules so it runs automatically, but only when the user is building verbosely (either with "--disable-silent-rules" or with "make check V=1").

I have an awk script written that does the filtering job, now I just need some help or inspiration about how to hook it into the makefile.

Patch in progress attached.

Mike Miller <mtmiller>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by lachlan (Updated 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 logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-26 mtmiller Carbon-CopyRemoved 80942 -
    2019-01-23 mtmiller StatusIn Progress Done
        Open/ClosedOpen Closed
    2016-07-07 lachlan CategoryNone Core : other
    2016-03-31 mtmiller Attached File- Added verbose-test-failures.diff, #36803

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code