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

Tests fail #4

Open
pSub opened this issue Sep 10, 2015 · 0 comments
Open

Tests fail #4

pSub opened this issue Sep 10, 2015 · 0 comments

Comments

@pSub
Copy link

pSub commented Sep 10, 2015

I am trying to build your package on NixOS. However some tests are failing. Might that be due to changes in tzdata? I am using tzdata-2015f.

unpacking sources
unpacking source archive /nix/store/ni4mnsp9xx7f79ayc3fv1qhb35vwa2zv-POSIX-strftime-Compiler-0.41.tar.gz
source root is POSIX-strftime-Compiler-0.41
patching sources
configuring
patching ./t/02_timezone.pl...
no configure script, doing nothing
building
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'POSIX-strftime-Compiler' version '0.41'
cp META.json MYMETA.json
cp META.yml MYMETA.yml
Building POSIX-strftime-Compiler
running tests
t/00_compile.t ... ok
t/01_basic.t ..... ok
t/02_timezone.t .. ok
t/03_isoweek.t ... ok

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '+0930'

    #   Failed test 'Australia/Darwin / 2013-1-10 => Australia'
    #   at t/04_tzset.t line 37.
    #                   'Australia'
    #     doesn't match '(?^:A?CST)'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '+0930'

    #   Failed test 'Australia/Darwin / 2013-1-10 => GMT'
    #   at t/04_tzset.t line 47.
    #                   'GMT'
    #     doesn't match '(?^:A?CST)'

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '+0930'

    #   Failed test 'Australia/Darwin / 2013-5-10 => Australia'
    #   at t/04_tzset.t line 37.
    #                   'Australia'
    #     doesn't match '(?^:A?CST)'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '+0930'

    #   Failed test 'Australia/Darwin / 2013-5-10 => GMT'
    #   at t/04_tzset.t line 47.
    #                   'GMT'
    #     doesn't match '(?^:A?CST)'

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '+0930'

    #   Failed test 'Australia/Darwin / 2013-8-15 => Australia'
    #   at t/04_tzset.t line 37.
    #                   'Australia'
    #     doesn't match '(?^:A?CST)'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '+0930'

    #   Failed test 'Australia/Darwin / 2013-8-15 => GMT'
    #   at t/04_tzset.t line 47.
    #                   'GMT'
    #     doesn't match '(?^:A?CST)'

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '+0930'

    #   Failed test 'Australia/Darwin / 2013-11-15 => Australia'
    #   at t/04_tzset.t line 37.
    #                   'Australia'
    #     doesn't match '(?^:A?CST)'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '+0930'

    #   Failed test 'Australia/Darwin / 2013-11-15 => GMT'
    #   at t/04_tzset.t line 47.
    #                   'GMT'
    #     doesn't match '(?^:A?CST)'
    # Looks like you failed 16 tests of 16.

#   Failed test 'Australia/Darwin'
#   at t/04_tzset.t line 56.

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '+0900'

    #   Failed test 'Asia/Tokyo / 2013-1-10 => Asia'
    #   at t/04_tzset.t line 41.
    #          got: 'Asia'
    #     expected: 'JST'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '+0900'

    #   Failed test 'Asia/Tokyo / 2013-1-10 => GMT'
    #   at t/04_tzset.t line 51.
    #          got: 'GMT'
    #     expected: 'JST'

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '+0900'

    #   Failed test 'Asia/Tokyo / 2013-5-10 => Asia'
    #   at t/04_tzset.t line 41.
    #          got: 'Asia'
    #     expected: 'JST'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '+0900'

    #   Failed test 'Asia/Tokyo / 2013-5-10 => GMT'
    #   at t/04_tzset.t line 51.
    #          got: 'GMT'
    #     expected: 'JST'

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '+0900'

    #   Failed test 'Asia/Tokyo / 2013-8-15 => Asia'
    #   at t/04_tzset.t line 41.
    #          got: 'Asia'
    #     expected: 'JST'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '+0900'

    #   Failed test 'Asia/Tokyo / 2013-8-15 => GMT'
    #   at t/04_tzset.t line 51.
    #          got: 'GMT'
    #     expected: 'JST'

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '+0900'

    #   Failed test 'Asia/Tokyo / 2013-11-15 => Asia'
    #   at t/04_tzset.t line 41.
    #          got: 'Asia'
    #     expected: 'JST'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '+0900'

    #   Failed test 'Asia/Tokyo / 2013-11-15 => GMT'
    #   at t/04_tzset.t line 51.
    #          got: 'GMT'
    #     expected: 'JST'
    # Looks like you failed 16 tests of 16.

#   Failed test 'Asia/Tokyo'
#   at t/04_tzset.t line 56.

    #   Failed test 'Europe/London / 2013-1-10 => Europe'
    #   at t/04_tzset.t line 37.
    #                   'Europe'
    #     doesn't match '(?^:(GMT|WET))'

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '+0100'

    #   Failed test 'Europe/London / 2013-5-10 => Europe'
    #   at t/04_tzset.t line 37.
    #                   'Europe'
    #     doesn't match '(?^:(BST|WEST))'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '+0100'

    #   Failed test 'Europe/London / 2013-5-10 => GMT'
    #   at t/04_tzset.t line 47.
    #                   'GMT'
    #     doesn't match '(?^:(BST|WEST))'

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '+0100'

    #   Failed test 'Europe/London / 2013-8-15 => Europe'
    #   at t/04_tzset.t line 37.
    #                   'Europe'
    #     doesn't match '(?^:(BST|WEST))'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '+0100'

    #   Failed test 'Europe/London / 2013-8-15 => GMT'
    #   at t/04_tzset.t line 47.
    #                   'GMT'
    #     doesn't match '(?^:(BST|WEST))'
    # Looks like you failed 9 tests of 16.

#   Failed test 'Europe/London'
#   at t/04_tzset.t line 56.

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '+0100'

    #   Failed test 'Europe/Paris / 2013-1-10 => Europe'
    #   at t/04_tzset.t line 41.
    #          got: 'Europe'
    #     expected: 'CET'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '+0100'

    #   Failed test 'Europe/Paris / 2013-1-10 => GMT'
    #   at t/04_tzset.t line 51.
    #          got: 'GMT'
    #     expected: 'CET'

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '+0200'

    #   Failed test 'Europe/Paris / 2013-5-10 => Europe'
    #   at t/04_tzset.t line 41.
    #          got: 'Europe'
    #     expected: 'CEST'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '+0200'

    #   Failed test 'Europe/Paris / 2013-5-10 => GMT'
    #   at t/04_tzset.t line 51.
    #          got: 'GMT'
    #     expected: 'CEST'

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '+0200'

    #   Failed test 'Europe/Paris / 2013-8-15 => Europe'
    #   at t/04_tzset.t line 41.
    #          got: 'Europe'
    #     expected: 'CEST'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '+0200'

    #   Failed test 'Europe/Paris / 2013-8-15 => GMT'
    #   at t/04_tzset.t line 51.
    #          got: 'GMT'
    #     expected: 'CEST'

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '+0100'

    #   Failed test 'Europe/Paris / 2013-11-15 => Europe'
    #   at t/04_tzset.t line 41.
    #          got: 'Europe'
    #     expected: 'CET'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '+0100'

    #   Failed test 'Europe/Paris / 2013-11-15 => GMT'
    #   at t/04_tzset.t line 51.
    #          got: 'GMT'
    #     expected: 'CET'
    # Looks like you failed 16 tests of 16.

#   Failed test 'Europe/Paris'
#   at t/04_tzset.t line 56.

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '-0500'

    #   Failed test 'America/New_York / 2013-1-10 => America'
    #   at t/04_tzset.t line 41.
    #          got: 'America'
    #     expected: 'EST'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '-0500'

    #   Failed test 'America/New_York / 2013-1-10 => GMT'
    #   at t/04_tzset.t line 51.
    #          got: 'GMT'
    #     expected: 'EST'

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '-0400'

    #   Failed test 'America/New_York / 2013-5-10 => America'
    #   at t/04_tzset.t line 41.
    #          got: 'America'
    #     expected: 'EDT'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '-0400'

    #   Failed test 'America/New_York / 2013-5-10 => GMT'
    #   at t/04_tzset.t line 51.
    #          got: 'GMT'
    #     expected: 'EDT'

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '-0400'

    #   Failed test 'America/New_York / 2013-8-15 => America'
    #   at t/04_tzset.t line 41.
    #          got: 'America'
    #     expected: 'EDT'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '-0400'

    #   Failed test 'America/New_York / 2013-8-15 => GMT'
    #   at t/04_tzset.t line 51.
    #          got: 'GMT'
    #     expected: 'EDT'

    #   Failed test at t/04_tzset.t line 35.
    #          got: '+0000'
    #     expected: '-0500'

    #   Failed test 'America/New_York / 2013-11-15 => America'
    #   at t/04_tzset.t line 41.
    #          got: 'America'
    #     expected: 'EST'

    #   Failed test at t/04_tzset.t line 45.
    #          got: '+0000'
    #     expected: '-0500'

    #   Failed test 'America/New_York / 2013-11-15 => GMT'
    #   at t/04_tzset.t line 51.
    #          got: 'GMT'
    #     expected: 'EST'
    # Looks like you failed 16 tests of 16.

#   Failed test 'America/New_York'
#   at t/04_tzset.t line 56.
# Looks like you failed 5 tests of 6.
t/04_tzset.t ..... 
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/6 subtests 

Test Summary Report
-------------------
t/04_tzset.t   (Wstat: 1280 Tests: 6 Failed: 5)
  Failed tests:  1-2, 4-6
  Non-zero exit status: 5
Files=5, Tests=381,  2 wallclock secs ( 0.27 usr  0.03 sys +  1.33 cusr  0.17 csys =  1.80 CPU)
Result: FAIL
Failed 1/5 test programs. 5/381 subtests failed.
builder for ‘/nix/store/00r22xx7i51pqajp05s3p0iry7axk6lm-perl-POSIX-strftime-Compiler-0.41.drv’ failed with exit code 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant