Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test failures on old SLES 11 SP1 environment #27

Open
markblackman opened this issue Sep 4, 2017 · 1 comment
Open

test failures on old SLES 11 SP1 environment #27

markblackman opened this issue Sep 4, 2017 · 1 comment

Comments

@markblackman
Copy link

markblackman commented Sep 4, 2017

"/versions/internal/perl-5.24.1/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Moment.bs blib/arch/auto/Time/Moment/Moment.bs 644
PERL_DL_NONLAZY=1 "/versions/internal/perl-5.24.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
# Time::Moment 0.42, Perl 5.024001,/versions/internal/perl-5.24.1/bin/perl (d_gettimeod=true d_localtime_r=false)
t/000_load.t ............ ok
t/100_basic.t ........... ok
t/110_now.t ............. ok
t/120_now_utc.t ......... ok

#   Failed test 'from_epoch(-0.0002)'
#   at t/130_from_epoch.t line 243.
#          got: '1969-12-31T23:59:58.999800Z'
#     expected: '1969-12-31T23:59:59.999800Z'

#   Failed test 'from_epoch(-0.0002, precision => 6)'
#   at t/130_from_epoch.t line 248.
#          got: '1969-12-31T23:59:58.999800Z'
#     expected: '1969-12-31T23:59:59.999800Z'

#   Failed test 'from_epoch(-0.0001)'
#   at t/130_from_epoch.t line 243.
#          got: '1969-12-31T23:59:58.999900Z'
#     expected: '1969-12-31T23:59:59.999900Z'

#   Failed test 'from_epoch(-0.0001, precision => 6)'
#   at t/130_from_epoch.t line 248.
#          got: '1969-12-31T23:59:58.999900Z'
#     expected: '1969-12-31T23:59:59.999900Z'

#   Failed test 'from_epoch(-2e-05)'
#   at t/130_from_epoch.t line 243.
#          got: '1969-12-31T23:59:58.999980Z'
#     expected: '1969-12-31T23:59:59.999980Z'

#   Failed test 'from_epoch(-2e-05, precision => 6)'
#   at t/130_from_epoch.t line 248.
#          got: '1969-12-31T23:59:58.999980Z'
#     expected: '1969-12-31T23:59:59.999980Z'

#   Failed test 'from_epoch(-2e-06)'
#   at t/130_from_epoch.t line 243.
#          got: '1969-12-31T23:59:58.999998Z'
#     expected: '1969-12-31T23:59:59.999998Z'

#   Failed test 'from_epoch(-2e-06, precision => 6)'
#   at t/130_from_epoch.t line 248.
#          got: '1969-12-31T23:59:58.999998Z'
#     expected: '1969-12-31T23:59:59.999998Z'
# Looks like you failed 8 tests of 485.
t/130_from_epoch.t ......
Dubious, test returned 8 (wstat 2048, 0x800)

@chansen
Copy link
Owner

chansen commented Mar 8, 2018

Thank you for the report! Could you please provide the output of perl -V?

--
chansen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants