Subject: | Fails tests when no "." in @INC |
On 5.25.10 with -Ddefault_inc_excludes_dot ( 5.25.11 is like this by default )
prove -lr t/001_require.t |& head -n 10
# Failed test 'require 'ComplexType.pm';'
# at t/001_require.t line 41.
# Tried to require ''ComplexType.pm''.
# Error: Can't locate ComplexType.pm in @INC (you may need to install the ComplexType module) (@INC contains: /home/kent/.cpanm/work/1490086039.18632/Google-Ads-AdWords-Client-4.13.0/lib /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/site_perl/5.25.10/x86_64-linux /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/site_perl/5.25.10 /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/5.25.10/x86_64-linux /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/5.25.10 t/../lib) at (eval 47) line 2.
PERL_USE_UNSAFE_INC=1 prove -lr t/001_require.t |& head -n 10
t/001_require.t .. ok
All tests successful.
Files=1, Tests=3899, 2 wallclock secs ( 0.34 usr 0.04 sys + 1.99 cusr 0.18 csys = 2.55 CPU)
Result: PASS
And a bunch more:
Test Summary Report
-------------------
t/001_require.t (Wstat: 65024 Tests: 3899 Failed: 3898)
Failed tests: 2-3899
Non-zero exit status: 254
t/020_GenerateOfflineCredentials.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 15 tests but ran 0.
t/022_ReportUtils.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 28 tests but ran 0.
t/024_BatchJobHandler.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 14 tests but ran 0.
t/100_CodeExamples_v201702.ft (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 67 tests but ran 0.
t/108_CodeExamples_v201607.ft (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 60 tests but ran 0.
t/109_CodeExamples_v201609.ft (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 58 tests but ran 0.
t/110_CampaignService.ft (Wstat: 65280 Tests: 8 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 25 tests but ran 8.
t/120_AdGroupService.ft (Wstat: 65280 Tests: 7 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 19 tests but ran 7.
t/130_AdGroupCriterionService.ft (Wstat: 65280 Tests: 7 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 51 tests but ran 7.
t/140_AdGroupAdService.ft (Wstat: 65280 Tests: 9 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 62 tests but ran 9.
t/170_CampaignCriterionService.ft (Wstat: 65280 Tests: 6 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 29 tests but ran 6.
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )