diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-03-12 17:44:59 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-03-12 17:44:59 +0000 |
commit | 273be65c18c94ccde36c8a6d14c992ff7434681a (patch) | |
tree | 0cf5ef49f71ff10ea92fe6bef563b28544a3381f /t/io | |
parent | 63dddcfa05d3d59b8fec7157e6f887bae33b68e6 (diff) | |
download | perl-273be65c18c94ccde36c8a6d14c992ff7434681a.tar.gz |
Rename test.pl's skip_all_without_extension to *_dynamic_extension().
All callers were using it with dynamic extensions, and also had a
skip_all_if_miniperl() for the same extension. Merge the two tests into one
function to save repetition.
Diffstat (limited to 't/io')
-rw-r--r-- | t/io/layers.t | 3 | ||||
-rw-r--r-- | t/io/perlio_open.t | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/t/io/layers.t b/t/io/layers.t index d0b55f1742..55dc2fa06b 100644 --- a/t/io/layers.t +++ b/t/io/layers.t @@ -8,8 +8,7 @@ BEGIN { require './test.pl'; skip_all_without_perlio(); # FIXME - more of these could be tested without Encode or full perl - skip_all_if_miniperl("no dynamic loading on miniperl, no Encode"); - skip_all_without_extension('Encode'); + skip_all_without_dynamic_extension('Encode'); # Makes testing easier. $ENV{PERLIO} = 'stdio' if exists $ENV{PERLIO} && $ENV{PERLIO} eq ''; diff --git a/t/io/perlio_open.t b/t/io/perlio_open.t index 9969796a36..702c76c35e 100644 --- a/t/io/perlio_open.t +++ b/t/io/perlio_open.t @@ -5,8 +5,7 @@ BEGIN { @INC = '../lib'; require './test.pl'; skip_all_without_perlio(); - skip_all_if_miniperl("no dynamic loading on miniperl, no Fcntl"); - skip_all_without_extension('Fcntl'); # how did you get this far? + skip_all_without_dynamic_extension('Fcntl'); # how did you get this far? } use strict; |