ACIL FM
Dark
Refresh
Current DIR:
/home/.cpan/build/Devel-CheckLib-1.16-0/t
/
home
.cpan
build
Devel-CheckLib-1.16-0
t
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
inc
-
chmod
Open
Rename
Delete
lib
-
chmod
Open
Rename
Delete
00-load.t
232 B
chmod
View
DL
Edit
Rename
Delete
analyze-binary.t
1.55 MB
chmod
View
DL
Edit
Rename
Delete
bad-single-word-compiler.t
1.06 MB
chmod
View
DL
Edit
Rename
Delete
cmdline-LIBS-INC.t
2.06 MB
chmod
View
DL
Edit
Rename
Delete
coverage.sh
136 B
chmod
View
DL
Edit
Rename
Delete
custom-function.t
2.39 MB
chmod
View
DL
Edit
Rename
Delete
dash-l-libs.t
1.2 MB
chmod
View
DL
Edit
Rename
Delete
exit_with_message.t
550 B
chmod
View
DL
Edit
Rename
Delete
flags.t
1.18 MB
chmod
View
DL
Edit
Rename
Delete
found.t
1.44 MB
chmod
View
DL
Edit
Rename
Delete
headers.t
1.34 MB
chmod
View
DL
Edit
Rename
Delete
multi-word-compiler.t
1.03 MB
chmod
View
DL
Edit
Rename
Delete
not_found.t
1.41 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/.cpan/build/Devel-CheckLib-1.16-0/t/not_found.t
use strict; # compatible use warnings BEGIN{ if (not $] < 5.006) { require warnings; warnings->import } } use Test::More; use Config; my $debug = 0; eval "use Devel::CheckLib"; if($@ =~ /Couldn't find your C compiler/) { plan skip_all => "Couldn't find your C compiler"; } my $platform_lib = $^O eq 'MSWin32' # if Win32 (not Cygwin) ... ? ( $Config{cc} =~ /(^|^\w+ )bcc/ ? 'cc3250' # ... Borland : 'msvcrt' # ... otherwise assume Microsoft ) : 'm' # default to Unix-style ; # Cases are AoH: { arg => $string, missing => $string } my @cases = ( { arg => qq{lib => 'foo'}, missing => ['foo'] }, { arg => qq{lib => [qw/$platform_lib foo/]}, missing => ['foo'] }, { arg => qq{lib => [qw/foo $platform_lib/]}, missing => ['foo'] }, { arg => qq{lib => [qw/foo bar/]}, missing => [qw/foo bar/] }, ); plan tests => 3 * @cases; for my $c ( @cases ) { eval "assert_lib(debug => $debug, $c->{arg})"; my $err = $@; ok ( $err, "died on '$c->{arg}'" ); my $miss_string = join(q{, }, map { qq{'$_'} } @{$c->{missing}} ); like ($err, "/^Can't link\/include C library ${miss_string}/ms", "missing $miss_string detected" ); ok(!check_lib(debug => $debug, eval($c->{arg})), "... and check_lib is false"); }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply