Subject: | Test failures |
On some of my smoker systems the test suite fails, for various reasons:
* Undeclared dependency XML::Simple:
# Failed test 'use Finance::Currency::Convert::ECBdaily;'
# at t/test.t line 23.
# Tried to use 'Finance::Currency::Convert::ECBdaily'.
# Error: Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: /home/cpansand/.cpan/build/2018030700/Finance-Currency-Convert-ECBdaily-0.02-E2Sz_o/blib/lib /home/cpansand/.cpan/build/2018030700/Finance-Currency-Convert-ECBdaily-0.02-E2Sz_o/blib/arch ... .) at /home/cpansand/.cpan/build/2018030700/Finance-Currency-Convert-ECBdaily-0.02-E2Sz_o/blib/lib/Finance/Currency/Convert/ECBdaily.pm line 36.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2018030700/Finance-Currency-Convert-ECBdaily-0.02-E2Sz_o/blib/lib/Finance/Currency/Convert/ECBdaily.pm line 36.
# Compilation failed in require at t/test.t line 23.
# BEGIN failed--compilation aborted at t/test.t line 23.
Undefined subroutine &Finance::Currency::Convert::ECBdaily::convert called at t/test.t line 25.
# Looks like you planned 2 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/test.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/2 subtests
* Unexpected answer:
# Failed test 'good answer'
# at t/test.t line 25.
# got: '1.2411'
# expected: '1.2307'
# Looks like you failed 1 test of 2.
t/test.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
* Connection or other problems?
Unable to get https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
# Looks like your test exited with 35 just after 1.
t/test.t ..
Dubious, test returned 35 (wstat 8960, 0x2300)
Failed 1/2 subtests
(Just a guess: maybe it's a missing LWP::Protocol::https dependency?)