emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding macro-generated ert test definitions (WAS: [Emacs-diffs] mas


From: Eli Zaretskii
Subject: Re: Finding macro-generated ert test definitions (WAS: [Emacs-diffs] master bb591f139f: Enhance CC Mode's fontification, etc., of unterminated strings.)
Date: Wed, 23 May 2018 17:54:54 +0300

> From: Noam Postavsky <address@hidden>
> Date: Tue, 22 May 2018 18:55:27 -0400
> Cc: Alan Mackenzie <address@hidden>, Tino Calancha <address@hidden>,
>       Emacs developers <address@hidden>
> 
> On 22 May 2018 at 15:21, João Távora <address@hidden> wrote:
> 
> > Also M-x ert-find-test-other-window could have helped you, but it
> > doesn't (brings me to the beginning of the file, which isn't helpful). I
> > don't know why, does anyone?
> 
> It works by searching the source file for "(ert-deftest TEST-NAME",
> but in this case TEST-NAME doesn't occur in the source, it's produced
> at compile time by the define-electric-pair-test macro.
> 
> See ert--find-test-regexp and find-function-search-for-symbol.

WIBNI this was described in ert.texi?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]