Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
dist /
ExtUtils-ParseXS /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
data
[ DIR ]
drwxr-xr-x
2015-02-14 16:56
lib
[ DIR ]
drwxr-xr-x
2015-02-14 16:56
001-basic.t
4.94
KB
-r--r--r--
2014-12-27 11:48
002-more.t
3.61
KB
-r--r--r--
2014-12-27 11:48
003-usage.t
2.65
KB
-r--r--r--
2014-12-27 11:48
101-standard_typemap_locations.t
1.14
KB
-r--r--r--
2014-12-27 11:48
102-trim_whitespace.t
613
B
-r--r--r--
2014-12-27 11:48
103-tidy_type.t
654
B
-r--r--r--
2014-12-27 11:48
104-map_type.t
2.21
KB
-r--r--r--
2014-12-27 11:48
105-valid_proto_string.t
837
B
-r--r--r--
2014-12-27 11:48
106-process_typemaps.t
1.36
KB
-r--r--r--
2014-12-27 11:48
108-map_type.t
377
B
-r--r--r--
2014-12-27 11:48
109-standard_XS_defs.t
588
B
-r--r--r--
2014-12-27 11:49
110-assign_func_args.t
1.34
KB
-r--r--r--
2014-12-27 11:48
111-analyze_preprocessor_statements.t
367
B
-r--r--r--
2014-12-27 11:48
112-set_cond.t
171
B
-r--r--r--
2014-12-27 11:48
113-check_cond_preproc_statements.t
4.43
KB
-r--r--r--
2014-12-27 11:48
114-blurt_death_Warn.t
2.77
KB
-r--r--r--
2014-12-27 11:48
115-avoid-noise.t
536
B
-r--r--r--
2014-12-27 11:48
501-t-compile.t
221
B
-r--r--r--
2014-12-27 11:48
510-t-bare.t
4.88
KB
-r--r--r--
2014-12-27 11:48
511-t-whitespace.t
886
B
-r--r--r--
2014-12-27 11:48
512-t-file.t
1.75
KB
-r--r--r--
2014-12-27 11:48
513-t-merge.t
3.44
KB
-r--r--r--
2014-12-27 11:48
514-t-embed.t
381
B
-r--r--r--
2014-12-27 11:48
515-t-cmd.t
1.99
KB
-r--r--r--
2014-12-27 11:48
516-t-clone.t
1.38
KB
-r--r--r--
2014-12-27 11:48
517-t-targetable.t
5.17
KB
-r--r--r--
2014-12-27 11:48
600-t-compat.t
4.83
KB
-r--r--r--
2014-12-27 11:48
XSInclude.xsh
85
B
-r--r--r--
2014-12-27 11:48
XSMore.xs
2.69
KB
-r--r--r--
2014-12-27 11:48
XSTest.pm
119
B
-r--r--r--
2014-12-27 11:48
XSTest.xs
1.2
KB
-r--r--r--
2014-12-27 11:48
XSUsage.pm
117
B
-r--r--r--
2014-12-27 11:48
XSUsage.xs
1.02
KB
-r--r--r--
2014-12-27 11:48
XSWarn.xs
219
B
-r--r--r--
2014-12-27 11:48
pseudotypemap1
130
B
-r--r--r--
2014-12-27 11:48
typemap
7.45
KB
-r--r--r--
2014-12-27 11:48
Save
Rename
#!/usr/bin/perl use strict; use warnings; use Test::More; use Config; use DynaLoader; use ExtUtils::CBuilder; use attributes; use overload; plan tests => 29; my ($source_file, $obj_file, $lib_file); require_ok( 'ExtUtils::ParseXS' ); ExtUtils::ParseXS->import('process_file'); chdir 't' if -d 't'; use Carp; $SIG{__WARN__} = \&Carp::cluck; # See the comments about this in 001-basics.t @INC = map { File::Spec->rel2abs($_) } @INC if $^O =~ /android/; ######################### $source_file = 'XSMore.c'; # Try sending to file ExtUtils::ParseXS->process_file( filename => 'XSMore.xs', output => $source_file, ); ok -e $source_file, "Create an output file"; my $quiet = $ENV{PERL_CORE} && !$ENV{HARNESS_ACTIVE}; my $b = ExtUtils::CBuilder->new(quiet => $quiet); SKIP: { skip "no compiler available", 2 if ! $b->have_compiler; $obj_file = $b->compile( source => $source_file ); ok $obj_file, "ExtUtils::CBuilder::compile() returned true value"; ok -e $obj_file, "Make sure $obj_file exists"; } SKIP: { skip "no dynamic loading", 25 if !$b->have_compiler || !$Config{usedl}; my $module = 'XSMore'; $lib_file = $b->link( objects => $obj_file, module_name => $module ); ok $lib_file, "ExtUtils::CBuilder::link() returned true value"; ok -e $lib_file, "Make sure $lib_file exists"; eval{ package XSMore; our $VERSION = 42; our $boot_ok; DynaLoader::bootstrap_inherit(__PACKAGE__, $VERSION); # VERSIONCHECK disabled sub new{ bless {}, shift } }; is $@, '', "No error message recorded, as expected"; is ExtUtils::ParseXS::report_error_count(), 0, 'ExtUtils::ParseXS::errors()'; is $XSMore::boot_ok, 100, 'the BOOT keyword'; ok XSMore::include_ok(), 'the INCLUDE keyword'; is prototype(\&XSMore::include_ok), "", 'the PROTOTYPES keyword'; is prototype(\&XSMore::prototype_ssa), '$$@', 'the PROTOTYPE keyword'; is_deeply [attributes::get(\&XSMore::attr_method)], [qw(method)], 'the ATTRS keyword'; is prototype(\&XSMore::attr_method), '$;@', 'ATTRS with prototype'; is XSMore::return_1(), 1, 'the CASE keyword (1)'; is XSMore::return_2(), 2, 'the CASE keyword (2)'; is prototype(\&XSMore::return_1), "", 'ALIAS with prototype (1)'; is prototype(\&XSMore::return_2), "", 'ALIAS with prototype (2)'; is XSMore::arg_init(200), 200, 'argument init'; ok overload::Overloaded(XSMore->new), 'the FALLBACK keyword'; is abs(XSMore->new), 42, 'the OVERLOAD keyword'; my @a; XSMore::hook(\@a); is_deeply \@a, [qw(INIT CODE POSTCALL CLEANUP)], 'the INIT & POSTCALL & CLEANUP keywords'; is_deeply [XSMore::outlist()], [ord('a'), ord('b')], 'the OUTLIST keyword'; is XSMore::len("foo"), 3, 'the length keyword'; is XSMore::sum(5, 9), 14, 'the INCLUDE_COMMAND directive'; # Tests for embedded typemaps is XSMore::typemaptest1(), 42, 'Simple embedded typemap works'; is XSMore::typemaptest2(), 42, 'Simple embedded typemap works with funny end marker'; is XSMore::typemaptest3(12, 13, 14), 12, 'Simple embedded typemap works for input, too'; is XSMore::typemaptest6(5), 5, '<<END; (with semicolon) matches delimiter "END"'; # Win32 needs to close the DLL before it can unlink it, but unfortunately # dl_unload_file was missing on Win32 prior to perl change #24679! if ($^O eq 'MSWin32' and defined &DynaLoader::dl_unload_file) { for (my $i = 0; $i < @DynaLoader::dl_modules; $i++) { if ($DynaLoader::dl_modules[$i] eq $module) { DynaLoader::dl_unload_file($DynaLoader::dl_librefs[$i]); last; } } } } unless ($ENV{PERL_NO_CLEANUP}) { for ( $obj_file, $lib_file, $source_file) { next unless defined $_; 1 while unlink $_; } }