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

Date::Calc is not listed as a dependency/requirement but is required #30

Closed
gg48gg opened this issue Sep 25, 2012 · 2 comments
Closed
Assignees
Labels

Comments

@gg48gg
Copy link

gg48gg commented Sep 25, 2012

t/utility/xl_parse_date....Can't locate Date/Calc.pm in @INC (@INC contains: ...
# Looks like your test exited with 2 before it could output anything.
t/utility/xl_parse_date...............................dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-4
        Failed 4/4 tests, 0.00% okay
@ghost ghost assigned jmcnamara Sep 26, 2012
@jmcnamara
Copy link
Owner

Thanks for that.

Date::Calc isn't a general dependency. It is only required if legacy date functions in the Utility.pm module are used. If it isn't available then the associated test cases should be skipped.

However, in the failing test case the skip_all checks that Date::Manip is installed but one of the tested functions also calls a Date::Calc function which isn't checked.

So the test fails if Date::Manip is installed but Date::Calc isn't.

I'll fix the test in the next release.

@jmcnamara
Copy link
Owner

Also reported by Andreas Koenig as RT #79790.

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

No branches or pull requests

2 participants