diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-08-31 22:34:41 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-09-02 20:11:14 -0700 |
commit | 223a2879075424fec5e3a4c0fa7085f0e878fe19 (patch) | |
tree | 834243f547ba3de686fcda30782b78af670100b1 /t/re/pat_re_eval.t | |
parent | e265c5e6d4d9f6266d408f0b57d7c340e37500a1 (diff) | |
download | perl-223a2879075424fec5e3a4c0fa7085f0e878fe19.tar.gz |
Get pat_re_eval.t working under minitest
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.
Diffstat (limited to 't/re/pat_re_eval.t')
-rw-r--r-- | t/re/pat_re_eval.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/re/pat_re_eval.t b/t/re/pat_re_eval.t index 309d0e9bd1..b0418282e9 100644 --- a/t/re/pat_re_eval.t +++ b/t/re/pat_re_eval.t @@ -17,8 +17,9 @@ $| = 1; BEGIN { chdir 't' if -d 't'; - @INC = ('../lib','.'); require './test.pl'; + @INC = () unless is_miniperl(); + unshift @INC, '../lib'; } |