97 failed because 96 failed (one can't read a file that was never written).

96 failed because of… permissions issues maybe?  Rob, what directory does " 
glob('~') " resolve to on that system?  Did the process have write permissions 
there?  I'm wondering if this is a code failure, or a failure of the test to 
consider all possibilities.  These tests did pass the AppVeyor Windows build.

That "convenience" code might end up causing more headaches than it's worth...

thanks,
Derek

> On Apr 16, 2018, at 5:13 AM, [email protected] wrote:
> 
> 
> -----Original Message----- From: Chris Marshall
> Sent: Monday, April 16, 2018 12:08 AM
> To: perldl
> Subject: [Pdl-general] CHM/PDL-2.018_01.tar.gz released
> 
>> ...and should be at a CPAN mirror near you soon.
> 
> On Windows, I'm getting failures for tests 96 and 97 in t/fits.t for perls 
> 5.12 and 5.14. (I haven't tested any version of perl prior to 5.12.0.)
> 
> not ok 96 - wfits tilde expansion didn't fail
> #   Failed test 'wfits tilde expansion didn't fail'
> #   at t/fits.t line 322.
> # died: Unable to create FITS file >~\PDL-IO-FITS-test_5340.fits
> #  at C:/MinGW/perl514/site/lib/PDL/IO/FITS.pm line 1901
> #       PDL::wfits() called at t/fits.t line 322
> #       Test::Exception::lives_ok() called at t/fits.t line 322
> not ok 97 - rfits tilde expansion didn't fail
> #   Failed test 'rfits tilde expansion didn't fail'
> #   at t/fits.t line 323.
> # died: FITS file ~\PDL-IO-FITS-test_5340.fits not found at 
> C:/MinGW/perl514/site/lib/PDL/IO/FITS.pm line 349
> #       PDL::rfits() called at C:/MinGW/perl514/site/lib/PDL/IO/FITS.pm line 
> 565
> 
> #       PDL::IO::FITS::rfits() called at t/fits.t line 323
> #       Test::Exception::lives_ok() called at t/fits.t line 323
> Could not delete ~\PDL-IO-FITS-test_5340.fits: No such file or directory
> # Looks like you failed 2 tests of 97.
> 
> No problems with 5.16 to 5.26. (I haven't yet tested any version of perl 
> newer that 5.26.0.)
> 
> Cheers,
> Rob
> 
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> pdl-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pdl-general
> 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to