This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3f4f620
)
Get inccode.t working under miniperl
author
Father Chrysostomos
<sprout@cpan.org>
Tue, 2 Sep 2014 07:46:32 +0000
(
00:46
-0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Wed, 3 Sep 2014 03:11:17 +0000
(20:11 -0700)
If things are broken enough that make_ext.pl cannot run, then mini-
test may run this script before everything is built. Hence, we need
to make sure the directories that buildcustomize.pl puts in @INC are
not clobbered by the test script.
t/op/inccode.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/inccode.t
b/t/op/inccode.t
index
1a0b919
..
41e31d2
100644
(file)
--- a/
t/op/inccode.t
+++ b/
t/op/inccode.t
@@
-4,8
+4,9
@@
BEGIN {
chdir 't' if -d 't';
- @INC = qw(. ../lib);
require './test.pl';
+ @INC = () unless is_miniperl();
+ unshift @INC, '../lib';
}
use Config;