Re: Single machine version of the test suite.

[email protected] ("H.Merijn Brand")
Newsgroups perl.qa,perl.daily-build
Message-ID <[email protected]>
On Tue 07 Aug 2001 13:44, Nicholas Clark <[email protected]> wrote:
> On Fri, Jan 05, 2001 at 11:57:13AM +0100, H.Merijn Brand wrote:
> > Not tested!
> > very much easified, no NFS, no multi C-compilers, no install
> > added some comments
> 
> Having some "fun" with it - it seems to think that there are failures when
> there are none.
> 
> Without solving those, I'd suggest:
> 
> --- smoke.sh~   Mon Aug  6 15:36:53 2001
> +++ smoke.sh    Mon Aug  6 15:40:07 2001
> @@ -1,4 +1,4 @@
> -#!/usr/bin/sh
> +#!/bin/sh

This is only true for /old/ systems AFICT. On all my `modern' systems, /bin is
a link to /usr/bin, where the 'sh' is resided.

The README should be expanded anyway, because just plainly testing this stuff
from a tcsh on AIX will run the whole bitch as a tcsh :-( so calling style
should be either

% at now
sh smoke.sh
^D

or from cron

* 22 * * * sh /foo/bar/test/CPAN/smoke.sh

both making the hashbang line documentation only

>  # This should be run with cron
>  
> --- mktest.pl   Tue Aug  7 09:58:51 2001
> +++ mktest.pl~  Fri Jan  5 11:27:36 2001
> @@ -74,7 +74,7 @@
>         }
>  
>      print TTY "\nConfigure ...";
> -    qx "./Configure -Dusedevel $conf $tconf $uconf -des";
> +    qx "Configure -Dusedevel $conf $tconf $uconf -des";

Why? smoke.sh will do a 'cd' first. Only change I'd consider correct is
       qx "sh ./Configure ..."

>      unless (-f "Makefile" && -s "config.sh") {
>         print TTY " Unable to configure perl in this configuration\n";
> 
> 
> I'll send patches when I figure out what the solutions are.

curiously awaiting.

-- 
H.Merijn Brand    Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
using perl-5.6.1, 5.7.1 & 623 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
     WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.022 &/| DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/
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.