develooper Front page | perl.perl5.porters | Postings from April 2018

Re: 5.27.11 fails ../lib/File/Copy.t on linux (ubuntu-16.04) with-Dusequadmath

Thread Previous | Thread Next
From:
sisyphus1
Date:
April 25, 2018 14:12
Subject:
Re: 5.27.11 fails ../lib/File/Copy.t on linux (ubuntu-16.04) with-Dusequadmath
Message ID:
F58F755B628B4FABB85C77A1B8E26591@OwnerPC311012
-----Original Message----- 
From: Dave Mitchell
Sent: Wednesday, April 25, 2018 11:58 PM
To: sisyphus1@optusnet.com.au
Cc: perl5-porters@perl.org
Subject: Re: 5.27.11 fails ../lib/File/Copy.t on linux (ubuntu-16.04) 
with -Dusequadmath

>> not ok 53 - mtime preserved by copy() while testing cross-partition
>> #   Failed test 'mtime preserved by copy() while testing cross-partition'
>> #   at lib/File/Copy.t line 128.
>> #          got: '1000000000.123449998'
>> #     expected: '1000000000.123449999'
>>
>> Configure args were '-des -Duse64bitint -Duse64bitall -Dusethreads
>> -Dusequadmath -Dusedevel -Uversiononly'.
>
> It seems to be an issue with Time::HiRes; that module's nanosec-supporting 
> stat() and utimes() calls are in some fashion not preserving an exact 
> round-trip mtime. I'm still investigating...

If it helps, that test passes when I run that test file (ie the 
lib/File/Copy.t that ships with 5.27.11) from perl-5.27.5 and earlier, but 
fails when I run it from perl-5.27.6 and later.

Cheers,
Rob

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