Tests

Test file Test results Time %
20 files 122 tests, 122 ok, 0 failed, 0 todo, 2 skipped, 0 parse errors
exit status: 0, wait status: 0
elapsed time: 26 wallclock secs ( 0.13 usr 0.38 sys + 8.97 cusr 4.06 csys = 13.54 CPU)
25.49s 100.0%
t/00_diag.t
1..1
ok 1 - okay
# 
#                      perl 5.016003
#    Acme::Alien::DontPanic undefined
#       Acme::Ford::Prefect undefined
#  Acme::Ford::Prefect::FFI undefined
#          Archive::Extract 0.58
#             Capture::Tiny 0.21
#                       Cwd 3.40
#            File::ShareDir 1.03
#                File::Spec 3.40
#                File::Temp 0.22
#               File::chdir 0.1008
#                   FindBin 1.51
#           HTML::LinkExtor 3.69
#                HTTP::Tiny 0.028
#                    Inline 0.53
#                 Inline::C 0.53
#               Inline::CPP 0.44
#           List::MoreUtils 0.33
#             Module::Build 0.4205
#              Perl::OSType 1.002
#   Shell::Config::Generate 0.08
#              Shell::Guess 0.03
#            Sort::Versions 1.5
#                Test::More 0.98
#          Text::ParseWords 3.27
#                       URI 1.60
#                    parent 0.225
1.17s 100.0%
t/build_flags.t
    ok 1
    1..1
ok 1 - unix
    ok 1
    ok 2
    ok 3
    1..3
ok 2 - windows
1..2
0.11s 100.0%
t/builder.t
    # [out]
    # + pkg-config --modversion 
    ok 1 - The object isa Alien::Base::ModuleBuild
    ok 2 - The object isa Module::Build
    ok 3 - Creates _alien dir
    ok 4 - Creates _share dir
    # [out]
    # Cleaning up build files
    ok 5 - Removes _alien dir
    ok 6 - Removes _share dir
    1..6
ok 1 - default temp and share
    # [out]
    # + pkg-config --modversion 
    ok 1 - Creates _test_temp dir
    ok 2 - Creates _test_temp dir
    # [out]
    # Cleaning up build files
    ok 3 - Removes _test_temp dir
    ok 4 - Removes _test_share dir
    1..4
ok 2 - override temp and share
    # [out]
    # + pkg-config --modversion foobarbazfakething
    # [out]
    # Building My-Test
    # 'blib' scheme is detected. Setting ALIEN_BLIB=1. If this has been done in error, please set ALIEN_BLIB and restart build process to disambiguate.
    # + pkg-config --modversion foobarbazfakething
    # Downloading File: foo.tar.gz ... Done
    # Extracting Archive ... Done
    # Building library ... 
    # + cd /tmp/FP3twG6x2d/_alien/foo
    # + /web/opt/perl/5.16/bin/perl /tmp/FP3twG6x2d/build.pl mkdir bin
    # % mkdir bin
    # + /web/opt/perl/5.16/bin/perl /tmp/FP3twG6x2d/build.pl touch bin/foo
    # % touch bin/foo
    # Done
    # Installing library to /tmp/FP3twG6x2d/_alien/foo ... 
    # + cd /tmp/FP3twG6x2d/_alien/foo
    # + /web/opt/perl/5.16/bin/perl /tmp/FP3twG6x2d/build.pl mkdir DESTDIR/tmp/FP3twG6x2d/blib/lib/auto/share/dist/My-Test/bin
    # % mkdir /tmp/FP3twG6x2d/blib/lib/auto/share/dist/My-Test/bin
    # + /web/opt/perl/5.16/bin/perl /tmp/FP3twG6x2d/build.pl copy bin/foo DESTDIR/tmp/FP3twG6x2d/blib/lib/auto/share/dist/My-Test/bin/foo
    # % copy bin/foo /tmp/FP3twG6x2d/blib/lib/auto/share/dist/My-Test/bin/foo
    # Done
    # [err]
    # If you are the author of this Alien dist, you may need to provide a an
    # alien_check_built_version method for your Alien::Base::ModuleBuild
    # class.  See:
    # https://metacpan.org/pod/Alien::Base::ModuleBuild#alien_check_built_version
    # Library looks like it installed, but no version was determined at t/builder.t line 133.
    ok 1 - destdir accessor
    # [out]
    # Installing /tmp/xqKs_M8TIH/web/opt/perl/5.16/site/share/My/Test/ConfigData.pm
    # Installing /tmp/xqKs_M8TIH/web/opt/perl/5.16/site/share/My/Test/Install/Files.pm
    # Installing /tmp/xqKs_M8TIH/web/opt/perl/5.16/site/share/auto/share/dist/My-Test/README
    # Installing /tmp/xqKs_M8TIH/web/opt/perl/5.16/site/share/auto/share/dist/My-Test/bin/foo
    # Installing /tmp/xqKs_M8TIH/web/opt/perl/5.16/site/man/man3/My::Test::ConfigData.3
    # Installing /tmp/xqKs_M8TIH/web/opt/perl/5.16/site/html/html3/site/lib/My/Test/ConfigData.html
    ok 2 - script installed in destdir /tmp/xqKs_M8TIH/web/opt/perl/5.16/site/share/auto/share/dist/My-Test/bin/foo
    1..2
ok 3 - destdir
    # bin = /tmp/5a7Awk9FIy/t/builder/bin
    # [out]
    # + pkg-config --modversion foobarbazfakething
    ok 1 - no Alien::MSYS
    ok 2 - normal build requires
    ok 3 - alien_bin_requires implies a build requires
    # [out]
    # + privateapp
    # seems okay
    ok 4 - found privateapp in path
    ok 5 - bourne shell helper
    ok 6 - c shell helper
    1..6
ok 4 - alien_bin_requires
    # [out]
    # + pkg-config --modversion foobarbazfakething
    # [out]
    # Building My-Test
    # + pkg-config --modversion foobarbazfakething
    # Downloading File: foo.tar.gz ... Done
    # Extracting Archive ... Done
    # Building library ... 
    # + cd /tmp/FP3twG6x2d/_alien/foo
    # + /web/opt/perl/5.16/bin/perl /tmp/FP3twG6x2d/build.pl
    # Done
    # Installing library to /tmp/FP3twG6x2d/_alien/foo ... 
    # + cd /tmp/FP3twG6x2d/_alien/foo
    # + /web/opt/perl/5.16/bin/perl /tmp/FP3twG6x2d/build.pl
    # Done
    ok 1 - version is set correctly
    1..1
ok 5 - alien_check_built_version
    # [out]
    # + pkg-config --modversion foobarbazfakething
    # [out]
    # Building My-Test
    # + pkg-config --modversion foobarbazfakething
    # Downloading File: foo.tar.gz ... Done
    # Extracting Archive ... Done
    # Building library ... 
    # + cd /tmp/FP3twG6x2d/_alien/foo
    # + /web/opt/perl/5.16/bin/perl /tmp/FP3twG6x2d/build.pl build it
    # Done
    # Installing library to /tmp/FP3twG6x2d/_alien/foo ... 
    # + cd /tmp/FP3twG6x2d/_alien/foo
    # + /web/opt/perl/5.16/bin/perl /tmp/FP3twG6x2d/build.pl install it
    # Done
    ok 1 - version is set correctly
    1..1
ok 6 - multi arg do_system
        ok 1 - Foo::Bar = 1.1
        1..1
    ok 1 - not installed, not forced
        ok 1 - Foo::Bar = 1.1
        1..1
    ok 2 - not installed, forced
        ok 1 - Foo::Bar = undef
        1..1
    ok 3 - installed, not forced
        ok 1 - Foo::Bar = 1.1
        1..1
    ok 4 - installed, forced
    1..4
ok 7 - source build requires
        ok 1 - cflags
        ok 2 - libs
        1..2
    ok 1 - not installed, not forced
    1..1
ok 8 - system provides
1..8
10.91s 100.0%
t/cabinet.t
1..4
ok 1 - use Alien::Base::ModuleBuild::Cabinet;
ok 2 - The object isa Alien::Base::ModuleBuild::Cabinet
ok 3 - add_files the files
ok 4 - add_files, well ... adds files
0.16s 100.0%
t/file.t
1..2
ok 1 - use Alien::Base::ModuleBuild::File;
ok 2 - The object isa Alien::Base::ModuleBuild::File
0.04s 100.0%
t/find_lib.t
+ pkg-config --modversion test
    ok 1 - found paths from extensions only
    ok 2 - The object isa Alien::Base::PkgConfig
    # libs = -L/tmp/5a7Awk9FIy/t/find_lib/dynamic/lib -lmylib -lonlypostdot -lonlypredot -lotherlib -lprepostdot
    ok 3 - ->keyword('Libs') returns mylib
    ok 4 - ->keyword('Libs') finds mylib directory
    ok 5 - ->keyword('Libs') finds mylib
    1..5
ok 1 - Find from file structure
    ok 1 - found paths from provides
    ok 2 - The object isa Alien::Base::PkgConfig
    # libs = -L/tmp/5a7Awk9FIy/t/find_lib/dynamic/lib -lmylib
    ok 3 - ->keyword('Libs') returns mylib
    ok 4 - ->keyword('Libs') finds mylib directory
    ok 5 - ->keyword('Libs') finds mylib
    1..5
ok 2 - Find using alien_provides_libs
    ok 1 - found paths from extensions only
    ok 2 - The object isa Alien::Base::PkgConfig
    # libs = -L/tmp/5a7Awk9FIy/t/find_lib/static/lib -lmylib -lotherlib
    ok 3 - ->keyword('Libs') returns mylib
    ok 4 - ->keyword('Libs') finds mylib directory
    ok 5 - ->keyword('Libs') finds mylib
    1..5
ok 3 - Find with static libs only
    ok 1 - found paths from extensions only
    ok 2 - The object isa Alien::Base::PkgConfig
    # libs = -L/tmp/5a7Awk9FIy/t/find_lib/mixed/lib -lmylib -lotherlib
    ok 3 - ->keyword('Libs') returns mylib
    ok 4 - ->keyword('Libs') finds mylib directory
    ok 5 - ->keyword('Libs') finds mylib
    1..5
ok 4 - Find with static libs and dynamic dir
1..4
1.08s 100.0%
t/http.t
ok 1 - use Alien::Base::ModuleBuild::Repository::HTTP;
ok 2 - parse HTML for anchor targets (HTML::LinkExtor)
ok 3 - parse HTML for anchor targets (HTML::LinkExtor, dispatched)
ok 4 - parse HTML for anchor targets (Text::Balanced)
ok 5 - parse HTML for anchor targets (Text::Balanced, dispatched)
        ok 1 - default HTTP class isa HTTP::Tiny
        1..1
    ok 1 - HTTP::Tiny
        ok 1 - The object isa LWP::UserAgent
        1..1
    ok 2 - LWP::UserAgent
        ok 1 - default HTTP class isa HTTP::Tiny
        1..1
    ok 3 - default
        ok 1
        1..1
    ok 4 - invalid class
    1..4
ok 6 - connection() and protocol_class
        ok 1
        1..1
    ok 1 - mock client
        ok 1
        1..1
    ok 2 - LWP::UserAgent
    1..2
ok 7 - list_files()
        ok 1
        1..1
    ok 1 - mock client
        ok 1
        1..1
    ok 2 - LWP::UserAgent
    1..2
ok 8 - get_file()
        ok 1
        1..1
    ok 1 - mock client
        ok 1
        1..1
    ok 2 - LWP::UserAgent
    1..2
ok 9 - get()
1..9
0.51s 100.0%
t/http_uri.t
ok 1 - use Alien::Base::ModuleBuild::Repository::HTTP;
ok 2 - simplest case
ok 3 - simplest case with the HTTPS protocol
ok 4 - path with spaces
ok 5 - extended path with spaces
ok 6 - remove repeated /
ok 7 - file with path
ok 8 - absolute URI found in link
ok 9 - absolute URI on different host
1..9
0.12s 100.0%
t/inline.t
1..0 # SKIP test requires Inline 0.56 and Inline::C
0.10s n/a
t/inline_cpp.t
1..0 # SKIP test requires Inline 0.56 and Inline::CPP
0.05s n/a
t/install_destination.t
+ pkg-config --modversion 
ok 1 - path looks good
1..1
0.51s 100.0%
t/interpolate.t
+ pkg-config --modversion test
ok 1 - prefix interpolation
ok 2 - no prefix interpolation with escape
ok 3 - share_dir interpolation
ok 4 - no share_dir interpolation with escape
ok 5 - %x is current interpreter
ok 6 - version prior to setting it
ok 7 - version warning prior to setting it
ok 8 - version after setting it
ok 9 - version warning after setting it
ok 10 - helper
ok 11 - helper x 2
ok 12 - exception gets thrown
ok 13 - helper from independent Alien module
ok 14 - helper from independent Alien module with code ref
ok 15 - exception thrown with bogus helper
ok 16 - MB helper overrides AB helper
ok 17 - argument count is zero (string helper)
ok 18 - argument count is zero (code helper)
ok 19 - support for %{pkg_config}
1..19
0.53s 100.0%
t/local_repo.t
ok 1
ok 2 - copied this file to temp dir
1..2
0.10s 100.0%
t/pkgconfig.t
ok 1 - use Alien::Base::PkgConfig;
ok 2 - Test file found
ok 3 - The object isa Alien::Base::PkgConfig
ok 4 - pcfiledir is a directory
ok 5 - pcfiledir contains test.pc
ok 6 - read vars
ok 7 - read keywords
ok 8 - understands package name from file path
ok 9 - var getter
ok 10 - var setter
ok 11 - abstract vars in terms of each other
ok 12 - abstract simple
ok 13 - abstract abstract 'nested'
ok 14 - Simple keyword getter
ok 15 - single interpolation keyword
ok 16 - multiple interpolation keyword
ok 17 - multiple interpolation keyword with override
1..17
0.10s 100.0%
t/repository.t
ok 1 - without pattern, probe returns an object for each file
ok 2 - The object isa Alien::Base::ModuleBuild::File
ok 3 - with pattern, probe returns an object for each matching file
ok 4 - The object isa Alien::Base::ModuleBuild::File
ok 5 - without capture, no version information is available
ok 6 - with pattern, probe returns an object for each matching file
ok 7 - The object isa Alien::Base::ModuleBuild::File
ok 8 - with capture, version information is available
ok 9 - with exact filename, probe returns one object
ok 10 - The object isa Alien::Base::ModuleBuild::File
ok 11 - the name of the object is the given filename
ok 12 - without exact version, no version information is available
ok 13 - with exact filename, probe returns one object
ok 14 - The object isa Alien::Base::ModuleBuild::File
ok 15 - the name of the object is the given filename
ok 16 - with exact version, the version of the object if the given version
ok 17 - the SHA-1 hash of the given filename
ok 18 - the SHA-256 hash of the given filename
1..18
0.12s 100.0%
t/repository_content_disposition.t
1..7
ok 1 - use Alien::Base::ModuleBuild::Repository::HTTP;
ok 2 - use Alien::Base::ModuleBuild::File;
ok 3 - no content disposition
ok 4 - filename = foo.txt (bare)
ok 5 - filename = foo.txt (double quotes)
ok 6 - filename = foo with space.txt (double quotes with space)
ok 7 - filename = foo.txt (space terminated)
0.09s 100.0%
t/utils.t
ok 1 - use Alien::Base::ModuleBuild::Utils;
ok 2 - parse HTML for anchor targets
ok 3 - No capture groups
ok 4 - One capture group
ok 5 - Two capture group
1..5
0.05s 100.0%
t/validation.t
ok 1 - use Alien::Base::ModuleBuild;
+ pkg-config --modversion 
ok 2 - undef validates to true
ok 3 # SKIP Windows test
ok 4 # SKIP Windows test
ok 5 - platform Unix on Unix
ok 6 - platform Windows on Unix is false
ok 7 - platform src
1..7
1.16s 100.0%
t/version.t
ok 1 - use Alien::Base::ModuleBuild;
0.25
+ pkg-config --modversion libarchive
+ pkg-config --modversion siughspidghsp
+ pkg-config --modversion libarchive
ok 2 - Found installed library libarchive
+ pkg-config --modversion siughspidghsp
ok 3 - Returns 0 if not found
1..3
0.67s 100.0%
t/yy-system_installed.t
0.25
+ pkg-config --modversion ext2fs
Building MyTest
+ pkg-config --modversion ext2fs
ok 1 - The object isa MyTest
ok 2 - The object isa Alien::Base
ok 3 - get cflags from system-installed library
ok 4 - get libs from system-installed library
Cleaning up build files
Cleaning up configuration files
1..4
7.92s 100.0%

Generated by TAP::Formatter::HTML v0.11 @ 00:41:27 21-Sep-2015