From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolai Weibull Newsgroups: gmane.emacs.help Subject: Autoconf autotest compilation-error-regexp Date: Sun, 18 Nov 2012 13:06:23 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1353240396 17771 80.91.229.3 (18 Nov 2012 12:06:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Nov 2012 12:06:36 +0000 (UTC) To: Emacs Users Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 18 13:06:48 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ta3eB-0008GX-Fi for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Nov 2012 13:06:47 +0100 Original-Received: from localhost ([::1]:45582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ta3e0-0003uJ-FF for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Nov 2012 07:06:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ta3dr-0003uD-TY for help-gnu-emacs@gnu.org; Sun, 18 Nov 2012 07:06:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ta3do-0000SL-RI for help-gnu-emacs@gnu.org; Sun, 18 Nov 2012 07:06:27 -0500 Original-Received: from mail-oa0-f41.google.com ([209.85.219.41]:45024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ta3do-0000SH-La for help-gnu-emacs@gnu.org; Sun, 18 Nov 2012 07:06:24 -0500 Original-Received: by mail-oa0-f41.google.com with SMTP id k14so4574898oag.0 for ; Sun, 18 Nov 2012 04:06:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=A1LDquFQirmFl3QegkdZ0PJqA3rfn2v7bGNaaHrNHy4=; b=YbU4PoD4WNRSDOrOXryPrQpvXFBxcWaZ4tb7el3FKZ8tAi7TodSUV4uEvQFTo7TCE/ MPJgXVnyf4mqXMwr9NBRzVAaRWWfNxu3ulCUN1gMXzvg0R9UCQjGKf81JBlRBzVbiGOj a+yd0R8mXc8Wg7y/2oq6ZXqA3XTsvhTZIEVWADVaUVYs8TUzOhgwyk1x8W8lS5+mvJB0 IMy/rG1wyll5c67ED8WEQaR9QVve3p7QxezuJUtipR3aIiJmJbFR9PVMvh02tzzOtL4x Ze3PSSeI8CZiIUTuhHRpDVZrvWlO/4dBo7EPhdYoa4nktuOvIo7kNqCv6WZJnGLVcMyO EoeA== Original-Received: by 10.60.169.134 with SMTP id ae6mr8256370oec.32.1353240384137; Sun, 18 Nov 2012 04:06:24 -0800 (PST) Original-Received: by 10.76.81.170 with HTTP; Sun, 18 Nov 2012 04:06:23 -0800 (PST) X-Google-Sender-Auth: NiFSgb5zWXgpDVfjdtczBkWhmrU X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.219.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87760 Archived-At: Hi! Has anyone written any autoconf autotest compilation-error-regexps? I can=E2=80=99t 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=E2=80=99t seem to work. It matches the ok/failed part OK, b= ut the other doesn=E2=80=99t want to stick.