unittests are really part of the build, not a special run

Andy Smith via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 31 01:16:48 PDT 2015


On Tuesday, 31 March 2015 at 08:10:19 UTC, Andy Smith wrote:
>
> A band-aid rather than a solution, but sticking this in 
> .emacs/init.el will fix up emacs to do the right thing with 
> asserts (only tested with DMD).
>
> Cheers,
>
> A.
>
> (add-to-list 'compilation-error-regexp-alist
> 		'("^object\.Exception@\\(.*\\)(\\([0-9]+\\)).*"
> 		  1 2 ) )

Ah - didn't test for your specific example...

Need..

(add-to-list 'compilation-error-regexp-alist
		'("^core\.exception.AssertError@\\(.*\\)(\\([0-9]+\\)).*"
		  1 2 ) )

as well.... not sure how many variants of these there are but if 
regexps can't handle it am sure elisp can....

Cheers,

A.


More information about the Digitalmars-d mailing list