-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tests to work with @inc that does not contain '.'
Bug report: https://rt.cpan.org/Ticket/Display.html?id=121458 Perl 5.25.11 removes '.' from the default @inc, and this breaks `require "test_data/gen_test_data.pl"` due to not being able to assume ./test_data/gen_test_data.pl is in the @inc load path, and due to `require` treating paths without leading "/" or "./" as search paths. This change implements the first solution suggested by the reporter of the bug: Re-organise test dependencies into a dedicated directory such as `t/lib` and load that path into @inc with `use lib 't/lib'`.
- Loading branch information
Showing
4 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters