Re: [PATCH] Why we aren't seeing all the test failures harnessed.

[email protected] (H . Merijn Brand)
Newsgroups perl.daily-build
Message-ID <[email protected]>
On Wed 12 Sep 2001 17:50, Nicholas Clark <[email protected]> wrote:
> The "extending failures with Harness" is currently failing to show all tests.
> It would appear to be because it assumes that they are all in .. (../lib).
> This fixes it to also show tests in t/
> 
> Nicholas Clark
> 
> --- mktest.pl.orig	Mon Sep  3 11:32:57 2001
> +++ mktest.pl	Wed Sep 12 14:39:27 2001
> @@ -334,7 +334,8 @@
>  		my @harness;
>  		for (@nok) {
>  		    m:^(\w+/[-\w/]+).*: or next;
> -		    push @harness, "../$1.t";
> +		    # Remeber, we chdir into t, so -f is false for op/*.t etc
> +		    push @harness, (-f "$1.t") ? "../$1.t" : "$1.t";
>  		    }
>  		if (@harness) {
>  		    local $ENV{PERL_SKIP_TTY_TEST} = 1;

Will incorporate. Little time, so wait. Action points for 1.08:

+ MANIFEST check after rsync
+ Win32 changes from Mattia
+ Above change

-- 
H.Merijn Brand    Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
using perl-5.6.1, 5.7.1 & 629 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
  WinNT 4, Win2K pro & WinCE 2.11.  Smoking perl CORE: [email protected]
http://archives.develooper.com/[email protected]/   [email protected]
send smoke reports to: [email protected], QA: http://qa.perl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.