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: Re: Autoconf autotest compilation-error-regexp
Date: Sun, 18 Nov 2012 19:36:59 +0100	[thread overview]
Message-ID: <CADdV=MtB0qssZ=FQ3hKP8=wJf_n+MPEAwinK-o_0OBvKTo1qGw@mail.gmail.com> (raw)
In-Reply-To: <CADdV=MtAMqDEpfP4yrB+m5iaO3x0fVvUyzWaSvKi+GCYgY3w+g@mail.gmail.com>

On Sun, Nov 18, 2012 at 1:06 PM, Nikolai Weibull <now@bitwi.se> wrote:

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

I managed to get some time to put something together that works OK:

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

I’m sure it can be improved, but this currently seems to work fine for my needs.



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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-18 12:06 Autoconf autotest compilation-error-regexp Nikolai Weibull
2012-11-18 18:36 ` Nikolai Weibull [this message]
  -- 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=MtB0qssZ=FQ3hKP8=wJf_n+MPEAwinK-o_0OBvKTo1qGw@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.