From: Chris Marshall
Sent: Thursday, May 07, 2015 3:50 AM
To: pdl-gene...@lists.sourceforge.net ; pdl-devel@lists.sourceforge.net
Subject: [Pdl-general] CHM/PDL-2.007_17.tar.gz (a.k.a. PDL-2.008 
RC4)released to CPAN

> ...and should be appearing at a CPAN mirror near you soon.

No failings for me on MS Windows, but here is some test suite noise that 
caught my eye on this occasion:

###############################
C:\sisyphusion\PDL-2.007_17>perl -Mblib t/pnm.t
.
.
ok 15
ok 16
cannot unlink file for 
C:\Users\sisyphus\AppData\Local\Temp\OwB6tzzfQU\tbin.TIFF: Permission denied 
at C:/MinGW/perl516/lib/File/Temp.pm line 902.
cannot remove directory for C:\Users\sisyphus\AppData\Local\Temp\OwB6tzzfQU: 
Directory not empty at C:/MinGW/perl516/lib/File/Temp.pm line 902.
###############################

Can those warnings be silenced without amending File::Temp ?
The warnings weren't emitted with t/pnm.t for PDL-2.007, but they might have 
crept in before PDL-2.007_17. (Not sure.)

###############################
C:\sisyphusion\PDL-2.007_17>perl -Mblib t/op-eq-warn-for-non-numeric.t
1..5
Argument "x" isn't numeric in subroutine entry at 
C:\sisyphusion\PDL-2.007_17\blib\lib/PDL/Core.pm line 732.
    ok 1
    ok 2
    1..2
ok 1 - String 'x' is not numeric and should warn
Argument "nancy" isn't numeric in subroutine entry at 
C:\sisyphusion\PDL-2.007_17\blib\lib/PDL/Core.pm line 732.
    ok 1
    ok 2
    1..2
ok 2 - String 'nancy' is not numeric and should warn
    ok 1
    ok 2
    1..2
ok 3 - String 'inf' is numeric
    ok 1
    ok 2
    1..2
ok 4 - String 'nan' is numeric
'bad' is not numeric nor a PDL in operator eq at 
C:\sisyphusion\PDL-2.007_17\blib\lib/PDL/Core.pm line 730.
Argument "bad" isn't numeric in subroutine entry at 
C:\sisyphusion\PDL-2.007_17\blib\lib/PDL/Core.pm line 732.
    ok 1
'bad' is not numeric nor a PDL in operator eq at 
C:\sisyphusion\PDL-2.007_17\blib\lib/PDL/Core.pm line 730.
    ok 2
    1..2
ok 5 - String 'bad' is numeric (in PDL) # TODO Using the eq operator with 
the string 'bad' might be a good feature
###############################

"no warnings 'numeric'" doesn't silence the warnings (or so it seems to me).
Test::Warn is being used by this script, and I thought the whole point of 
using Test::Warn was to test for warnings while not actually emitting them ?

Cheers,
Rob




------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to