Skip to content

Commit

Permalink
Build results of 01f3d31 (on master)
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Sep 29, 2015
1 parent cd81f73 commit 9149e83
Show file tree
Hide file tree
Showing 14 changed files with 64 additions and 33 deletions.
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Revision history for ELF-Extract-Sections

1.001004 2015-09-29T14:21:04Z b0ca7c0
[Tests]
- Try to work out what the finger prints of a system that can't handle ELF64 files looks like.

1.001003 2015-09-27T08:06:04Z 55e4d01
[Dependencies::Stats]
- Dependencies changed since 1.001002, see misc/*.deps* for details
Expand Down
16 changes: 8 additions & 8 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,23 +147,23 @@
"provides" : {
"ELF::Extract::Sections" : {
"file" : "lib/ELF/Extract/Sections.pm",
"version" : "1.001003"
"version" : "1.001004"
},
"ELF::Extract::Sections::Meta::Scanner" : {
"file" : "lib/ELF/Extract/Sections/Meta/Scanner.pm",
"version" : "1.001003"
"version" : "1.001004"
},
"ELF::Extract::Sections::Meta::Types" : {
"file" : "lib/ELF/Extract/Sections/Meta/Types.pm",
"version" : "1.001003"
"version" : "1.001004"
},
"ELF::Extract::Sections::Scanner::Objdump" : {
"file" : "lib/ELF/Extract/Sections/Scanner/Objdump.pm",
"version" : "1.001003"
"version" : "1.001004"
},
"ELF::Extract::Sections::Section" : {
"file" : "lib/ELF/Extract/Sections/Section.pm",
"version" : "1.001003"
"version" : "1.001004"
}
},
"release_status" : "testing",
Expand All @@ -178,7 +178,7 @@
"web" : "https://github.com/kentnl/ELF-Extract-Sections"
}
},
"version" : "1.001003",
"version" : "1.001004",
"x_BuiltWith" : {
"external_file" : "misc/built_with.json"
},
Expand Down Expand Up @@ -674,7 +674,7 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
"tag" : "1.001003-source",
"tag" : "1.001004-source",
"tag_format" : "%v-source",
"tag_message" : "v%v"
},
Expand Down Expand Up @@ -765,7 +765,7 @@
"branch" : "releases",
"changelog" : "Changes",
"signed" : 0,
"tag" : "1.001003",
"tag" : "1.001004",
"tag_format" : "%v",
"tag_message" : "v%v"
},
Expand Down
12 changes: 6 additions & 6 deletions META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@ name: ELF-Extract-Sections
provides:
ELF::Extract::Sections:
file: lib/ELF/Extract/Sections.pm
version: '1.001003'
version: '1.001004'
ELF::Extract::Sections::Meta::Scanner:
file: lib/ELF/Extract/Sections/Meta/Scanner.pm
version: '1.001003'
version: '1.001004'
ELF::Extract::Sections::Meta::Types:
file: lib/ELF/Extract/Sections/Meta/Types.pm
version: '1.001003'
version: '1.001004'
ELF::Extract::Sections::Scanner::Objdump:
file: lib/ELF/Extract/Sections/Scanner/Objdump.pm
version: '1.001003'
version: '1.001004'
ELF::Extract::Sections::Section:
file: lib/ELF/Extract/Sections/Section.pm
version: '1.001003'
version: '1.001004'
recommends:
Moose: '2.000'
requires:
Expand All @@ -66,4 +66,4 @@ resources:
bugtracker: https://github.com/kentnl/ELF-Extract-Sections/issues
homepage: https://github.com/kentnl/ELF-Extract-Sections
repository: https://github.com/kentnl/ELF-Extract-Sections.git
version: '1.001003'
version: '1.001004'
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ my %WriteMakefileArgs = (
"YAML::XS" => 0,
"lib" => 0
},
"VERSION" => "1.001003",
"VERSION" => "1.001004",
"test" => {
"TESTS" => "t/*.t t/00-compile/*.t"
}
Expand Down
4 changes: 2 additions & 2 deletions lib/ELF/Extract/Sections.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package ELF::Extract::Sections;

# ABSTRACT: Extract Raw Chunks of data from identifiable ELF Sections

our $VERSION = '1.001003'; # TRIAL
our $VERSION = '1.001004'; # TRIAL

our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY

Expand Down Expand Up @@ -267,7 +267,7 @@ ELF::Extract::Sections - Extract Raw Chunks of data from identifiable ELF Sectio
=head1 VERSION
version 1.001003
version 1.001004
=head1 SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions lib/ELF/Extract/Sections/Meta/Scanner.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package ELF::Extract::Sections::Meta::Scanner;

# ABSTRACT: Interface Contract for Scanners

our $VERSION = '1.001003'; # TRIAL
our $VERSION = '1.001004'; # TRIAL

our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY

Expand Down Expand Up @@ -36,7 +36,7 @@ ELF::Extract::Sections::Meta::Scanner - Interface Contract for Scanners
=head1 VERSION
version 1.001003
version 1.001004
=head1 Required Methods for Applying Roles
Expand Down
4 changes: 2 additions & 2 deletions lib/ELF/Extract/Sections/Meta/Types.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package ELF::Extract::Sections::Meta::Types;

# ABSTRACT: Generic Type Constraints for E:E:S

our $VERSION = '1.001003'; # TRIAL
our $VERSION = '1.001004'; # TRIAL

our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY

Expand All @@ -32,7 +32,7 @@ ELF::Extract::Sections::Meta::Types - Generic Type Constraints for E:E:S
=head1 VERSION
version 1.001003
version 1.001004
=head1 Types
Expand Down
4 changes: 2 additions & 2 deletions lib/ELF/Extract/Sections/Scanner/Objdump.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package ELF::Extract::Sections::Scanner::Objdump;

# ABSTRACT: An objdump based section scanner.

our $VERSION = '1.001003'; # TRIAL
our $VERSION = '1.001004'; # TRIAL

our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY

Expand Down Expand Up @@ -217,7 +217,7 @@ ELF::Extract::Sections::Scanner::Objdump - An objdump based section scanner.
=head1 VERSION
version 1.001003
version 1.001004
=head1 SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions lib/ELF/Extract/Sections/Section.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package ELF::Extract::Sections::Section;

# ABSTRACT: An Objective reference to a section in an ELF file.

our $VERSION = '1.001003'; # TRIAL
our $VERSION = '1.001004'; # TRIAL

our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY

Expand Down Expand Up @@ -189,7 +189,7 @@ ELF::Extract::Sections::Section - An Objective reference to a section in an ELF
=head1 VERSION
version 1.001003
version 1.001004
=head1 SYNOPSIS
Expand Down
4 changes: 3 additions & 1 deletion misc/Changes.deps
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
This file contains changes in REQUIRED dependencies for standard CPAN phases (configure/build/runtime/test)

1.001003
1.001004

1.001003 2015-09-27T08:06:04Z
[Added / runtime requires]
- Capture::Tiny

Expand Down
4 changes: 3 additions & 1 deletion misc/Changes.deps.all
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL dependencies for all phases (configure/build/runtime/test/develop)

1.001003
1.001004

1.001003 2015-09-27T08:06:04Z
[Added / runtime requires]
- Capture::Tiny

Expand Down
4 changes: 3 additions & 1 deletion misc/Changes.deps.dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and OPTIONAL )

1.001003
1.001004

1.001003 2015-09-27T08:06:04Z

1.001002 2015-09-27T07:39:23Z

Expand Down
4 changes: 3 additions & 1 deletion misc/Changes.deps.opt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
This file contains changes in OPTIONAL dependencies for standard CPAN phases (configure/build/runtime/test)

1.001003
1.001004

1.001003 2015-09-27T08:06:04Z

1.001002 2015-09-27T07:39:23Z

Expand Down
27 changes: 23 additions & 4 deletions t/00-version-check.t
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,39 @@ unless ( ok( $path, "objdump is available" ) ) {
}
ok( $gotoutput, "objdump --version emitted data" );
}
my $help_out;
{
my ( $stdout, $stderr, $exit ) = capture { system("objdump --help") };

cmp_ok( $exit, '==', 0, "objdump exited with 0" );
my $ok = cmp_ok( $exit, '==', 0, "objdump exited with 0" );

if ( unlike( $stdout, qr/^\s*$/, "objdump --help emitted data to STDOUT" ) ) {
$help_out = $stdout;
$ok = undef unless like( $stdout, qr/-D,\s*--disassemble-all/, "has -D param" );
$ok = undef unless like( $stdout, qr/-F,\s*--file-offsets/, "has -F param" );

diag "STDOUT: ---\n" . $stdout unless $ok;
}
elsif ( $stderr !~ /^\s*$/ ) {
diag "STDERR: ---\n" . $stderr;
}
}
{
my ( $stdout, $stderr, $exit ) = capture { system("objdump -f t/test_files/libz.so.1.2.3.debug") };

my $ok = like( $stdout, qr/-D,\s*--disassemble-all/, "has -D param" );
$ok = undef unless like( $stdout, qr/-F,\s*--file-offsets/, "has -F param" );
my $ok = cmp_ok( $exit, '==', 0, 'objdump exited with 0' );
if ( unlike( $stdout, qr/^\s*$/, "objdump -f emitted data to STDOUT" ) ) {

$ok = undef unless like( $stdout, qr/elf64-x86-64/, "Id's elf64-x86-64" );

diag "STDOUT: ---\n" . $stdout unless $ok;
}
elsif ( $stderr !~ /^\s*$/ ) {
diag "STDERR: ---\n";
$ok = undef;
diag "STDERR: ---\n" . $stderr;
}
if ( not $ok and $help_out ) {
diag "HELP OUT: ---\n$help_out";
}
}

Expand Down

0 comments on commit 9149e83

Please sign in to comment.