unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Autoconf autotest compilation-error-regexp
@ 2012-11-18 12:06 Nikolai Weibull
  2012-11-18 18:36 ` Nikolai Weibull
  0 siblings, 1 reply; 2+ messages in thread
From: Nikolai Weibull @ 2012-11-18 12:06 UTC (permalink / raw)
  To: Emacs Users

Hi!

Has anyone written any autoconf autotest compilation-error-regexps?  I
can’t seem to get it to work.

The output, when running the testsuite with -v is rather poor and
looks like this (where all capitals replace generic information):

1. testsuite.at:5: testing TEST TITLE ...
./testsuite.at:11: COMMAND
1. testsuite.at:5:  ok

2. testsuite.at:16: testing TEST TITLE ...
./testsuite.at:22: COMMAND
--- -   2012-11-18 13:00:01.000000000 +0100
+++ .../stdout       2012-11-18 13:00:01.000000000 +0100
DIFF OUTPUT

2. testsuite.at:16:  FAILED (testsuite.at:22)

My attempt was

(add-to-list 'compilation-error-regexp-alist-alist
                  '(autotest-footer
                    "^[1-9][0-9]*\\. \\([^\n :]+\\):\\([1-9][0-9]*\\):
 \\(?:ok\\|FAILED\\)"
                    1 2 nil 0 1))
     (add-to-list 'compilation-error-regexp-alist 'autotest-footer)
     (add-to-list 'compilation-error-regexp-alist-alist
                  '(autotest-error
                    "^[1-9][0-9]*\\. [^\n :]+:[1-9][0-9]*: testing
[^\n]*\n\
\\([^\n :]+\\):\\([1-9][0-9]*\\): [^\n]+\n\\(?:\\([^-]\\)\\|---\\)"
                    1 2 nil (3 . 3) 1))
     (add-to-list 'compilation-error-regexp-alist 'autotest-error)

but that doesn’t seem to work.  It matches the ok/failed part OK, but
the other doesn’t want to stick.



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

end of thread, other threads:[~2012-11-18 18:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-18 12:06 Autoconf autotest compilation-error-regexp Nikolai Weibull
2012-11-18 18:36 ` Nikolai Weibull

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).