Received: by 10.66.73.7 with SMTP id h7mr2230045pav.6.1353240393924; Sun, 18 Nov 2012 04:06:33 -0800 (PST) Path: 6ni93077pbd.1!nntp.google.com!news.glorb.com!usenet.stanford.edu!not-for-mail From: Nikolai Weibull Newsgroups: gnu.emacs.help Subject: Autoconf autotest compilation-error-regexp Date: Sun, 18 Nov 2012 13:06:23 +0100 Lines: 40 Sender: nikolai.weib...@gmail.com Approved: help-gnu-em...@gnu.org Message-ID: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 X-Trace: usenet.stanford.edu 1353240393 23184 208.118.235.17 (18 Nov 2012 12:06:33 GMT) X-Complaints-To: action@cs.stanford.edu To: Emacs Users Envelope-to: help-gnu-em...@gnu.org 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== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.219.41 X-BeenThere: help-gnu-em...@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: , Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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.