all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nikolai Weibull <now@bitwi.se>
To: Emacs Users <help-gnu-emacs@gnu.org>
Subject: Autoconf autotest compilation-error-regexp
Date: Sun, 18 Nov 2012 13:06:23 +0100	[thread overview]
Message-ID: <CADdV=MtAMqDEpfP4yrB+m5iaO3x0fVvUyzWaSvKi+GCYgY3w+g@mail.gmail.com> (raw)

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.



             reply	other threads:[~2012-11-18 12:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-18 12:06 Nikolai Weibull [this message]
2012-11-18 18:36 ` Autoconf autotest compilation-error-regexp Nikolai Weibull
  -- strict thread matches above, loose matches on Subject: below --
2015-11-26 20:28 Nikolai Weibull

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADdV=MtAMqDEpfP4yrB+m5iaO3x0fVvUyzWaSvKi+GCYgY3w+g@mail.gmail.com' \
    --to=now@bitwi.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.