develooper Front page | perl.perl5.porters | Postings from January 2008

Re: Smoke [5.11.0] 32864 FAIL(F) MSWin32 Win2003 SP2 (x86/1 cpu)

Thread Previous | Thread Next
From:
Abe Timmerman
Date:
January 6, 2008 03:35
Subject:
Re: Smoke [5.11.0] 32864 FAIL(F) MSWin32 Win2003 SP2 (x86/1 cpu)
Message ID:
4780BA5A.80202@ztreet.demon.nl
Abe Timmerman wrote:
> Automated smoke report for 5.11.0 patch 32864
> jimmy: Intel(R) Pentium(R) 4 CPU 1.60GHz(~1594 MHz) (x86/1 cpu)
>     on        MSWin32 - Win2003 SP2
>     using     gcc version 3.4.2
>     smoketime 4 hours 13 minutes (average 1 hour 3 minutes)
> 
> Summary: FAIL(F)
> 
> O = OK  F = Failure(s), extended report at the bottom
> X = Failure(s) under TEST but not under harness
> ? = still running or test results not (yet) available
> Build failures during:       - = unknown or N/A
> c = Configure, m = make, M = make (after miniperl), t = make test-prep
> 
>    32864     Configuration (common) -DCCHOME=C:\MinGW -DCCTYPE=GCC -Dgcc_v3_2
> ----------- ---------------------------------------------------------
> F F         -Duselargefiles
> O O         -Duseithreads -Duselargefiles
> | +--------- -DDEBUGGING
> +----------- no debugging
> 
> 
> Locally applied patches:
>     DEVEL
>     SMOKE32864
> 
> Failures: (common-args) -DCCHOME=C:\MinGW -DCCTYPE=GCC -Dgcc_v3_2
> [default] -Duselargefiles
> [default] -DDEBUGGING -Duselargefiles
> ../lib/File/Temp/t/fork.t...................................FAILED
>     Bad plan.  You planned 8 tests but ran 1.

Without ithreads (actually USE_IMP_SYS) on MSWin32, fork() is not implemented.

This patch should skip the tests when there is no fork() available:

--- fork.t.org  2008-01-06 12:02:25.000000000 +0100
+++ fork.t      2008-01-06 12:19:51.000000000 +0100
@@ -5,7 +5,15 @@

 use strict;

-BEGIN { print "1..8\n"; }
+BEGIN {
+    require Config;
+    if ( $Config::Config{d_fork} ) {
+        print "1..8\n";
+    } else {
+        print "1..0 # Skip No fork available\n";
+        exit;
+    }
+}

 use File::Temp;


HTH +
Good luck,

Abe
-- 
[Thou shalt not index with char]
Yves> The 128th commandment? :-)
Yeah.  Though I would call it the 0x80th commandment, but I'm old-fashioned
like that.
                                    -- Jarkko Hientiemi on p5p @ 2006-05-05


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About