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

 
 

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

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Thu 31 Mar 2016 02:19:59 AM UTC  
 
Category:  Core : other Priority:  3 - Low
Status:  In Progress Privacy:  Public
Assigned to:  Mike Miller <mtmiller> Open/Closed:  Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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>
Project AdministratorIn charge of this item.

 

(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)
  • -email is unavailable- added by mtmiller (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    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.3