t/porting/diag.t Test completeness of perldiag.pod
t/porting/dual-life.t Check that dual-life bins are in utils/
t/porting/exec-bit.t Check that exec-bit bins are identified
+t/porting/FindExt.t Test win32/FindExt.pm
t/porting/maintainers.t Test that Porting/Maintaners.pl is up to date
t/porting/manifest.t Test that this MANIFEST file is well formed
t/porting/podcheck.t Test the POD of shipped modules is well formed
win32/distclean.bat Remove _ALL_ files not listed here in MANIFEST
win32/fcrypt.c crypt() implementation
win32/FindExt.pm Scan for extensions
-win32/FindExt.t Test FindExt.pm
win32/genmk95.pl Perl code to generate command.com-usable makefile.95
win32/include/arpa/inet.h Win32 port
win32/include/dirent.h Win32 port
BEGIN {
@INC = qw(../win32 ../lib);
+ require './test.pl';
}
use strict;
-use Test::More tests => 10;
+# Test that Win32/FindExt.pm is consistent with Configure in determining the
+# types of extensions.
+# It's not possible to check the list of built dynamic extensions, as that
+# varies based on which headers are present, and which options ./Configure was
+# invoked with.
+
+plan tests => 10;
use FindExt;
use Config;
FindExt::scan_ext('../cpan');
+FindExt::scan_ext('../dist');
FindExt::scan_ext('../ext');
# Config.pm and FindExt.pm make different choices about what should be built
my @config = sort split ' ', $config;
is (scalar @$found, scalar @config,
"We find the same number of $type");
- is_deeply($found, \@config, "We find the same");
+ is ("@$found", "@config", "We find the same list of $type");
}