GNU bug report logs - #5607
23.1; compile error regexps for perl test scripts, mark 2

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Kevin Ryde <user42@HIDDEN>; Keywords: patch; dated Sat, 20 Feb 2010 00:16:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 5607 <at> debbugs.gnu.org:


Received: (at 5607) by debbugs.gnu.org; 28 Feb 2016 06:10:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 28 01:10:39 2016
Received: from localhost ([127.0.0.1]:49382 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aZuYx-0001id-F8
	for submit <at> debbugs.gnu.org; Sun, 28 Feb 2016 01:10:39 -0500
Received: from hermes.netfonds.no ([80.91.224.195]:50822)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <larsi@HIDDEN>) id 1aZuYu-0001iT-TD
 for 5607 <at> debbugs.gnu.org; Sun, 28 Feb 2016 01:10:38 -0500
Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161]
 helo=mouse)
 by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.72) (envelope-from <larsi@HIDDEN>)
 id 1aZuYV-00040G-SC; Sun, 28 Feb 2016 07:10:12 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Kevin Ryde <user42@HIDDEN>
Subject: Re: bug#5607: 23.1;
 compile error regexps for perl test scripts, mark 2
References: <87635srcdp.fsf@HIDDEN>
Date: Sun, 28 Feb 2016 17:10:07 +1100
In-Reply-To: <87635srcdp.fsf@HIDDEN> (Kevin Ryde's message of "Sat, 20 Feb
 2010 11:15:14 +1100")
Message-ID: <87k2lptlfk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-MailScanner-ID: 1aZuYV-00040G-SC
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1457244612.65829@LNwTdPusN3tMVBVpwPWzug
X-Spam-Status: No
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 5607
Cc: 5607 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Kevin Ryde <user42@HIDDEN> writes:

> I eventually got around to revisiting the compile error regexps I made
> for perl test scripts in my compilation-perl.el.
>
> I was misguided about the "NOK" business of the perl--Test::Harness one
> that's now in emacs.  I believe the three symbols perl--Test,
> perl--Test2 and perl--Test::Harness can be replaced by the two simpler
> bits of compile.el.perl.fragment below.  compilation.txt fragment below
> too, to replace the two sections "* Perl Test module error messages" and
> "* Perl Test::Harness output".

[...]

> 2010-02-20  Kevin Ryde  <user42@HIDDEN>
>
> 	* compilation.txt (Perl Test module, Perl Test::Harness): Replace
> 	for new perl--Test and perl--Test-failed symbols.
>
>     (perl--Test
>      ;; Test.pm ok() message when comparing got/want values (printed in
>      ;; its _complain()),
>      ;;
>      ;;     # Test 2 got: "xx" (t-compilation-perl-2.t at line 10)
>      ;;
>      ;; And under Test::Harness can be preceded by progress stuff so
>      ;; allow match anywhere in the line.

[...]

> Yes.  It should be matched.  My latest and greatest seems to do so
> ( http://user42.tuxfamily.org/compilation-perl/index.html ).  I'll try
> to double check what I posted.
>
> Incidentally, the "cucumber" pattern of the emacs24 seems to match the
> perl test intro
>
> # Current time local: Wed Aug 15 12:04:58 2012
>
> I wondered if the cucumber "#" bit might be tightened up.  Maybe its "#"
> is never at the start of a line, or something like that.

It's been three years again, so it's time to revisit this bug report.
:-)

If this is still an issue, can you provide a patch for this instead of
code fragments?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#5607; Package emacs. Full text available.

Message received at 5607 <at> debbugs.gnu.org:


Received: (at 5607) by debbugs.gnu.org; 6 Dec 2012 22:34:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 06 17:34:32 2012
Received: from localhost ([127.0.0.1]:57445 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Tgk1X-0003PW-2w
	for submit <at> debbugs.gnu.org; Thu, 06 Dec 2012 17:34:32 -0500
Received: from mailout1-13.pacific.net.au ([125.255.80.132]:51565
	helo=mailout3-syd3.pacific.net.au)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <gg@HIDDEN>) id 1Tgk1T-0003PK-DU
	for 5607 <at> debbugs.gnu.org; Thu, 06 Dec 2012 17:34:29 -0500
Received: from mailproxy3-syd3.pacific.net.au (mailproxy3-syd3.pacific.net.au
	[61.8.2.164])
	by mailout3-syd3.pacific.net.au (Postfix) with ESMTP id 835BE114E62;
	Fri,  7 Dec 2012 09:34:07 +1100 (EST)
Received: from blah.blah (unknown [203.26.175.142])
	by mailproxy3-syd3.pacific.net.au (Postfix) with ESMTP id E88E55780B0; 
	Fri,  7 Dec 2012 09:34:06 +1100 (EST)
Received: from gg by blah.blah with local (Exim 4.72)
	(envelope-from <gg@HIDDEN>)
	id 1Tgk1g-0003GL-Iq; Fri, 07 Dec 2012 09:34:40 +1100
From: Kevin Ryde <user42@HIDDEN>
To: Chong Yidong <cyd@HIDDEN>
Subject: Re: bug#5607: 23.1;
	compile error regexps for perl test scripts, mark 2
References: <87635srcdp.fsf@HIDDEN> <87sj7pc7ay.fsf@HIDDEN>
Date: Fri, 07 Dec 2012 09:34:40 +1100
In-Reply-To: <87sj7pc7ay.fsf@HIDDEN> (Chong Yidong's message of "Sun, 02 Dec
	2012 14:11:17 +0800")
Message-ID: <87boe63j3z.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.8 (/)
X-Debbugs-Envelope-To: 5607
Cc: 5607 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -0.0 (/)

Chong Yidong <cyd@HIDDEN> writes:
>
> With your patch, the following line from the old compile.txt is no
> longer correctly highlighted:
>
> # Test 6 got: "xx" (foo.t at line 33 fail #2)
>
> Is that a valid compilation message?

Yes.  It should be matched.  My latest and greatest seems to do so
( http://user42.tuxfamily.org/compilation-perl/index.html ).  I'll try
to double check what I posted.


Incidentally, the "cucumber" pattern of the emacs24 seems to match the
perl test intro

# Current time local: Wed Aug 15 12:04:58 2012

I wondered if the cucumber "#" bit might be tightened up.  Maybe its "#"
is never at the start of a line, or something like that.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#5607; Package emacs. Full text available.

Message received at 5607 <at> debbugs.gnu.org:


Received: (at 5607) by debbugs.gnu.org; 2 Dec 2012 06:13:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 02 01:13:43 2012
Received: from localhost ([127.0.0.1]:49174 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Tf2oA-0003Pq-VL
	for submit <at> debbugs.gnu.org; Sun, 02 Dec 2012 01:13:43 -0500
Received: from mail-pa0-f44.google.com ([209.85.220.44]:36846)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <seewhydee@HIDDEN>) id 1Tf2o7-0003Ph-OJ
	for 5607 <at> debbugs.gnu.org; Sun, 02 Dec 2012 01:13:41 -0500
Received: by mail-pa0-f44.google.com with SMTP id hz11so1135175pad.3
	for <5607 <at> debbugs.gnu.org>; Sat, 01 Dec 2012 22:11:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:from:to:cc:subject:references:date:in-reply-to:message-id
	:user-agent:mime-version:content-type;
	bh=xU7E1+TNmabO4lPV8T21mryKEb9XIb+79mYbmhOkGz8=;
	b=wEeL31M7EZ/dDcJB0z+00pB1WAzNT71Gzl1TWgObb+edFhdl02QOQg3wi7jmuMUrJn
	bGsk55rOqhSSq7PA5EZh5QyC8vVSJda7ko0ETGH73aJRKnIdpCurflitEv4cJxTAoCtv
	fodXzeRAmscpuDJgZMgHB7MQ96zX2lOO557gwS5BHqVxs0uiZGPFUbTlVxilfHYXtAms
	ttVBIxvwuSdF5cxYSSFX1sEDrB0e9rP0diRYMw3SF6vpLHPAzTyynkhracmqKpVR5/9U
	VS5F9NjYsvl/Mr23hju49jf9sD06uhZ4kV3PAABE8lYKDfWkDenEjbXDHtTOIgHFEDe0
	/MXw==
Received: by 10.69.0.10 with SMTP id au10mr19190742pbd.18.1354428682686;
	Sat, 01 Dec 2012 22:11:22 -0800 (PST)
Received: from ulysses (cm198.gamma83.maxonline.com.sg. [202.156.83.198])
	by mx.google.com with ESMTPS id d2sm5810492paw.19.2012.12.01.22.11.19
	(version=SSLv3 cipher=OTHER); Sat, 01 Dec 2012 22:11:21 -0800 (PST)
From: Chong Yidong <cyd@HIDDEN>
To: Kevin Ryde <user42@HIDDEN>
Subject: Re: bug#5607: 23.1;
	compile error regexps for perl test scripts, mark 2
References: <87635srcdp.fsf@HIDDEN>
Date: Sun, 02 Dec 2012 14:11:17 +0800
In-Reply-To: <87635srcdp.fsf@HIDDEN> (Kevin Ryde's message of "Sat, 20 Feb
	2010 11:15:14 +1100")
Message-ID: <87sj7pc7ay.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: 5607
Cc: 5607 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

Kevin Ryde <user42@HIDDEN> writes:

> I eventually got around to revisiting the compile error regexps I made
> for perl test scripts in my compilation-perl.el.
>
> I was misguided about the "NOK" business of the perl--Test::Harness one
> that's now in emacs.  I believe the three symbols perl--Test,
> perl--Test2 and perl--Test::Harness can be replaced by the two simpler
> bits of compile.el.perl.fragment below.  compilation.txt fragment below
> too, to replace the two sections "* Perl Test module error messages" and
> "* Perl Test::Harness output".

Sorry for the very late response.

With your patch, the following line from the old compile.txt is no
longer correctly highlighted:

# Test 6 got: "xx" (foo.t at line 33 fail #2)

Is that a valid compilation message?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#5607; Package emacs. Full text available.
Added tag(s) patch. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Feb 2010 00:15:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 19 19:15:39 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Nid0U-0001IA-9F
	for submit <at> debbugs.gnu.org; Fri, 19 Feb 2010 19:15:38 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <gg@HIDDEN>) id 1Nid0R-0001I5-G6
	for submit <at> debbugs.gnu.org; Fri, 19 Feb 2010 19:15:36 -0500
Received: from mx10.gnu.org ([199.232.76.166]:52197)
	by fencepost.gnu.org with esmtp (Exim 4.69)
	(envelope-from <gg@HIDDEN>) id 1Nid0N-0008CY-Oz
	for submit <at> debbugs.gnu.org; Fri, 19 Feb 2010 19:15:31 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim
	4.60) (envelope-from <gg@HIDDEN>) id 1Nid0L-00028U-Px
	for submit <at> debbugs.gnu.org; Fri, 19 Feb 2010 19:15:31 -0500
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,
	FORGED_RCVD_HELO,UNPARSEABLE_RELAY autolearn=ham version=3.1.0
Received: from lists.gnu.org ([199.232.76.165]:54002)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <gg@HIDDEN>) id 1Nid0L-00028O-JJ
	for submit <at> debbugs.gnu.org; Fri, 19 Feb 2010 19:15:29 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Nid0L-0000X3-3h
	for bug-gnu-emacs@HIDDEN; Fri, 19 Feb 2010 19:15:29 -0500
Received: from [140.186.70.92] (port=34157 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Nid0J-0000V9-S0
	for bug-gnu-emacs@HIDDEN; Fri, 19 Feb 2010 19:15:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <gg@HIDDEN>) id 1Nid0I-00050C-JM
	for bug-gnu-emacs@HIDDEN; Fri, 19 Feb 2010 19:15:27 -0500
Received: from mailout1-2.pacific.net.au ([61.8.2.209]:53877
	helo=mailout1.pacific.net.au) by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <gg@HIDDEN>) id 1Nid0H-0004zz-HE
	for bug-gnu-emacs@HIDDEN; Fri, 19 Feb 2010 19:15:26 -0500
Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au
	[61.8.2.163])
	by mailout1.pacific.net.au (Postfix) with ESMTP id 4D14D52831E
	for <bug-gnu-emacs@HIDDEN>; Sat, 20 Feb 2010 11:15:23 +1100 (EST)
Received: from blah.blah (ppp2048.dyn.pacific.net.au [61.8.32.72])
	by mailproxy2.pacific.net.au (Postfix) with ESMTP id 3E8742740F
	for <bug-gnu-emacs@HIDDEN>; Sat, 20 Feb 2010 11:15:22 +1100 (EST)
Received: from gg by blah.blah with local (Exim 4.71)
	(envelope-from <gg@HIDDEN>) id 1Nid06-0001Ey-VP
	for bug-gnu-emacs@HIDDEN; Sat, 20 Feb 2010 11:15:15 +1100
From: Kevin Ryde <user42@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 23.1; compile error regexps for perl test scripts, mark 2
Date: Sat, 20 Feb 2010 11:15:14 +1100
Message-ID: <87635srcdp.fsf@HIDDEN>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6,
	seldom 2.4 (older, 4)
X-Spam-Score: -5.5 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.5 (-----)

--=-=-=

I eventually got around to revisiting the compile error regexps I made
for perl test scripts in my compilation-perl.el.

I was misguided about the "NOK" business of the perl--Test::Harness one
that's now in emacs.  I believe the three symbols perl--Test,
perl--Test2 and perl--Test::Harness can be replaced by the two simpler
bits of compile.el.perl.fragment below.  compilation.txt fragment below
too, to replace the two sections "* Perl Test module error messages" and
"* Perl Test::Harness output".

2010-02-20  Kevin Ryde  <user42@HIDDEN>

	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	Replace/amend perl--Test, perl--Test2 and perl--Test::Harness with
	better patterns perl--Test and perl--Test-failed.

2010-02-20  Kevin Ryde  <user42@HIDDEN>

	* compilation.txt (Perl Test module, Perl Test::Harness): Replace
	for new perl--Test and perl--Test-failed symbols.


--=-=-=
Content-Disposition: attachment; filename=compile.el.perl.fragment

    (perl--Test
     ;; Test.pm ok() message when comparing got/want values (printed in
     ;; its _complain()),
     ;;
     ;;     # Test 2 got: "xx" (t-compilation-perl-2.t at line 10)
     ;;
     ;; And under Test::Harness can be preceded by progress stuff so
     ;; allow match anywhere in the line.
     ;;
     ;;     ... NOK 1# Test 1 got: "1234" (t/foo.t at line 46)
     ;;
     "# Test [0-9]+ got:.* (\\([^ \t\r\n]+\\) at line \\([0-9]+\\))"
     1 2)

    (perl--Test-failed
     ;; Test.pm and Test::Builder fail messages.
     ;; Test.pm ok() function on a plain boolean test gives,
     ;;
     ;;     # Failed test 1 in foo.t at line 6
     ;;
     ;; And Test::Builder (eg. module version 0.94, and as used for
     ;; instance by Test::More) gives similar in its ok().  The # is
     ;; added by Test::Builder diag().  Eg. with no test name,
     ;;
     ;;     #   Failed test in foo.t at line 5.
     ;;
     ;; Or with a test name,
     ;;
     ;;     #   Failed test 'my name'
     ;;     #   in foo.t at line 5.
     ;;
     ;; Or with a multi-line name,
     ;;
     ;;     #   Failed test 'my name
     ;;     #   blah
     ;;     #   '
     ;;     #   in foo.t at line 5.
     ;;
     ;; Both Test and Test::Harness can be preceded by a progress part
     ;; from Test::Harness, so match anywhere in the line, eg.
     ;;
     ;;     ../devel/d-compilation-perl.t .. 1/1 # Failed test 1 in ../devel/d-compilation-perl.t at line 27
     ;;
     ;; A Test::Builder message "# Failed (TODO) test" is deliberately
     ;; not matched, since a test flagged as TODO isn't an error.  If
     ;; you want to match that you can slip a "\\( (TODO)\\)?" into the
     ;; pattern (perhaps classing it as a warning).
     ;;
     "# +Failed test.*?\\(\n#.*?\\)*? +in \\([^ \t\r\n]+\\) at line \\([0-9]+\\)"
     2 3)

--=-=-=
Content-Disposition: attachment; filename=compilation.txt

* Perl test scripts

In the following the raw .t output gives messages at the start of the
line, but Test::Harness ends up prefixing them with its progress
print.  The exact text of that prefix varies a little between
Test::Harness versions but is unmatched.

symbol: perl--Test

# Test 2 got: "123" (t-compilation-perl.t at line 6)

NOK 1# Test 1 got: "1234" (t/foo.t at line 46)

symbol: perl--Test-failed

The following from Test.pm module,

# Failed test 1 in foo.t at line 6
d-compilation-perl....NOK 1# Failed test 1 in d-compilation-perl.t at line 27
../devel/d-compilation-perl.t .. 1/1 # Failed test 1 in ../devel/d-compilation-perl.t at line 27

The following from Test::Builder, with or without a test name, and
even a multi-line test name (multi-line "name"s arise if details like
input data are included to identify what test is what),

#   Failed test in foo.t at line 5.

#   Failed test 'my name'
#   in foo.t at line 5.

#   Failed test 'my name
#   blah
#   '
#   in foo.t at line 5.

--=-=-=




In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.16.5)
 of 2009-09-14 on raven, modified by Debian
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

--=-=-=--





Acknowledgement sent to Kevin Ryde <user42@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#5607; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 28 Feb 2016 06:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.