Patches: Browse | Submit New | Admin

[#10694] Tweaked errorformat for rubyunit compiler

Date:
2007-05-08 18:25
Priority:
3
Submitted By:
Wolfgang D (wolfgang)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Tweaked errorformat for rubyunit compiler

Detailed description
So I felt uncomfortable seeing no output at all when all tests pass, and I like to see how many tests I have, how long
they took to run, etc. Long story short, I altered the errorformat in compiler/rubyunit.vim thus:

CompilerSet errorformat=\%+G%n%m,
                        \%+GFinished%m,
                        \%W\ %\\+%\\d%\\+)\ Failure:,
			\%C%m\ [%f:%l]:,
			\%E\ %\\+%\\d%\\+)\ Error:,
			\%C%m:,
			\%C\ \ \ \ %f:%l:%.%#,
			\%C%m,
			\%Z\ %#,
			\%-G%.%#

I realized the two new lines are interpreted as errors by :gn and :gp but meh.

Wolfgang

Add A Comment: Notepad

Please login


Followup

Message
Date: 2007-05-08 18:27
Sender: Wolfgang D

Ok, slightly tweaked, first line might be too general:

CompilerSet errorformat=\%+G%n\ tests%m,
                        \%+GFinished%m,
                        \%W\ %\\+%\\d%\\+)\ Failure:,
			\%C%m\ [%f:%l]:,
			\%E\ %\\+%\\d%\\+)\ Error:,
			\%C%m:,
			\%C\ \ \ \ %f:%l:%.%#,
			\%C%m,
			\%Z\ %#,
			\%-G%.%#

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item