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
(parent:
d7a2948
)
Get t/uni/gv.t working under minitest
author
Father Chrysostomos
<sprout@cpan.org>
Mon, 1 Sep 2014 05:40:39 +0000
(22:40 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Wed, 3 Sep 2014 03:11:15 +0000
(20:11 -0700)
minitest can run 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/uni/gv.t
patch
|
blob
|
blame
|
history
diff --git
a/t/uni/gv.t
b/t/uni/gv.t
index
670bb6a
..
5ea70c1
100644
(file)
--- a/
t/uni/gv.t
+++ b/
t/uni/gv.t
@@
-6,8
+6,9
@@
BEGIN {
chdir 't' if -d 't';
- @INC = '../lib';
require './test.pl';
+ @INC = () unless is_miniperl();
+ unshift @INC, '../lib';
}
use utf8;