unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Finding macro-generated ert test definitions (WAS: [Emacs-diffs] master bb591f139f: Enhance CC Mode's fontification, etc., of unterminated strings.)
@ 2018-05-22 22:55 Noam Postavsky
  2018-05-23  0:52 ` Finding macro-generated ert test definitions João Távora
  2018-05-23 14:54 ` Finding macro-generated ert test definitions (WAS: [Emacs-diffs] master bb591f139f: Enhance CC Mode's fontification, etc., of unterminated strings.) Eli Zaretskii
  0 siblings, 2 replies; 8+ messages in thread
From: Noam Postavsky @ 2018-05-22 22:55 UTC (permalink / raw)
  To: João Távora; +Cc: Alan Mackenzie, Tino Calancha, Emacs developers

On 22 May 2018 at 15:21, João Távora <joaotavora@gmail.com> 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.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-05-24 23:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-22 22:55 Finding macro-generated ert test definitions (WAS: [Emacs-diffs] master bb591f139f: Enhance CC Mode's fontification, etc., of unterminated strings.) Noam Postavsky
2018-05-23  0:52 ` Finding macro-generated ert test definitions João Távora
2018-05-23 14:54 ` Finding macro-generated ert test definitions (WAS: [Emacs-diffs] master bb591f139f: Enhance CC Mode's fontification, etc., of unterminated strings.) Eli Zaretskii
2018-05-23 22:40   ` Noam Postavsky
2018-05-24 16:41     ` Eli Zaretskii
2018-05-24 16:50       ` Finding macro-generated ert test definitions João Távora
2018-05-24 22:34         ` Noam Postavsky
2018-05-24 23:00           ` João Távora

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).