forked from dagolden/extutils-makemaker
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Default MANIFEST.SKIP not catching files in subdirs. Fixed by Ilya.
- Ilya fixed ExtUtils::Liblist->ext when called outside MakeMaker. git-svn-id: http://svn.schwern.org/repos/CPAN/ExtUtils-MakeMaker/trunk@1083 8151f2b9-fde8-0310-94fd-f048d12aab9e
- Loading branch information
Showing
5 changed files
with
43 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,7 @@ t/Command.t | |
t/INST.t | ||
t/INST_PREFIX.t | ||
t/Installed.t | ||
t/Liblist.t | ||
t/MM_BeOS.t | ||
t/MM_Cygwin.t | ||
t/MM_NW5.t | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/perl -w | ||
|
||
BEGIN { | ||
if( $ENV{PERL_CORE} ) { | ||
chdir 't' if -d 't'; | ||
unshift @INC, '../lib'; | ||
} | ||
else { | ||
unshift @INC, 't/lib'; | ||
} | ||
} | ||
chdir 't'; | ||
|
||
use strict; | ||
use Test::More tests => 5; | ||
|
||
BEGIN { | ||
use_ok( 'ExtUtils::Liblist' ); | ||
} | ||
|
||
{ | ||
my @warn; | ||
local $SIG{__WARN__} = sub {push @warn, [@_]}; | ||
|
||
my @out = ExtUtils::Liblist->ext('-ln0tt43r3_perl'); | ||
is( @out, 4, 'enough output' ); | ||
unlike( $out[2], qr/-ln0tt43r3_perl/, 'bogus library not added' ); | ||
is( @warn, 1, 'had warning'); | ||
like($warn[0][0], | ||
qr/\QNote (probably harmless): No library found for -ln0tt43r3_perl/, | ||
'expected warning'); | ||
} |