PATH:
usr
/
share
/
doc
/
perl-Sub-Exporter
/
t
use strict; use warnings; # this test was generated with Dist::Zilla::Plugin::Test::Compile 2.037 use Test::More 0.94 tests => 2; my @module_files = ( 'Sub/Exporter.pm', 'Sub/Exporter/Util.pm' ); # no fake home requested my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib'; use File::Spec; use IPC::Open3; use IO::Handle; my @warnings; for my $lib (@module_files) { # see L<perlfaq8/How can I capture STDERR from an external command?> open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!"; my $stderr = IO::Handle->new; my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]"); binmode $stderr, ':crlf' if $^O eq 'MSWin32'; my @_warnings = <$stderr>; waitpid($pid, 0); is($?, 0, "$lib loaded ok"); if (@_warnings) { warn @_warnings; push @warnings, @_warnings; } } # no warning checks; BAIL_OUT("Compilation problems") if !Test::More->builder->is_passing;
[-] util-merge.t
[edit]
[-] real-export-groupgen.t
[edit]
[-] util-like.t
[edit]
[-] faux-export.t
[edit]
[-] inherited.t
[edit]
[-] into-level.t
[edit]
[-] valid-config.t
[edit]
[-] gen-callable.t
[edit]
[-] 000-report-versions-tiny.t
[edit]
[-] util-currychain.t
[edit]
[-] real-export-setup.t
[edit]
[-] util-curry.t
[edit]
[-] util-mixin.t
[edit]
[-] collection.t
[edit]
[-] group-generator.t
[edit]
[-] real-export-href.t
[edit]
[-] 00-compile.t
[edit]
[+]
lib
[-] expand-group.t
[edit]
[+]
..
[-] col-init.t
[edit]
[-] util-namemap.t
[edit]