SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Test-DiagINC rpm build for : OpenSuSE. For other distributions click perl-Test-DiagINC.

Name : perl-Test-DiagINC
Version : 0.010 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp154.1.1 Date : 2023-01-27 17:31:07
Group : Unspecified Source RPM : perl-Test-DiagINC-0.010-lp154.1.1.src.rpm
Size : 0.03 MB
Packager : https://www_suse_com/
Summary : List modules and versions loaded if tests fail
Description :
Assuming you shipped your module to CPAN with working tests, test failures
from at http://www.cpantesters.org/ might be due to platform issues, Perl
version issues or problems with dependencies. This module helps you
diagnose deep dependency problems by showing you exactly what modules and
versions were loaded during a test run.

When this module is loaded, it sets up an \'END\' block that will take action
if the program is about to exit with a non-zero exit code or if
$test_builder->is_passing is false by the time the \'END\' block is reached.
If that happens, this module prints out the names and version numbers of
non-local modules appearing in %INC at the end of the test.

For example:

$ perl -MTest::DiagINC -MTest::More -e \'fail(\"meh\"); done_testing\'
not ok 1 - meh


1..1

















This module deliberately does not load *any other modules* during runtime,
instead delaying all loads until it needs to generate a failure report in
its \'END\' block. The only exception is loading strict and warnings for
self-check *if and only if* \'RELEASE_TESTING\' is true. Therefore an empty
invocation will look like this:

$ perl -MTest::DiagINC -e \'exit(1)\'



*NOTE*: Because this module uses an \'END\' block, it is a good idea to load
it as early as possible, so the \'END\' block it installs will execute as
*late* as possible (see perlmod for details on how this works). While this
module does employ some cleverness to work around load order, it is still a
heuristic and is no substitute to loading this module early. A notable
side-effect is when a module is loaded in an \'END\' block executing *after*
the one installed by this library: such modules will be \"invisible\" to us
and will not be reported as part of the diagnostic report.

Modules that appear to be sourced from below the current directory when
\'Test::DiagINC\' was loaded will be excluded from the report (e.g. excludes
local modules from \'./\', \'lib/\', \'t/lib\', and so on).

The heuristic of searching \'%INC\' for loaded modules may fail if the module
path loaded does not map to a package within the module file.

If \'Test::More\' is loaded, the output will go via the \'diag\' function.
Otherwise, it will just be sent to STDERR.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.4/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Test-DiagINC-0.010-lp154.1.1.noarch.rpm
     

Provides :
perl(Test::DiagINC)
perl-Test-DiagINC

Requires :
perl(:MODULE_COMPAT_5.26.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Test
/usr/lib/perl5/vendor_perl/5.26.1/Test/DiagINC.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Test-DiagINC
/usr/share/doc/packages/perl-Test-DiagINC/CONTRIBUTING.mkdn
/usr/share/doc/packages/perl-Test-DiagINC/Changes
/usr/share/doc/packages/perl-Test-DiagINC/README
/usr/share/doc/packages/perl-Test-DiagINC/examples
/usr/share/doc/packages/perl-Test-DiagINC/examples/dies.t
/usr/share/doc/packages/perl-Test-DiagINC/examples/fails.t
/usr/share/doc/packages/perl-Test-DiagINC/examples/fails_in_end.t
/usr/share/doc/packages/perl-Test-DiagINC/examples/lib
/usr/share/doc/packages/perl-Test-DiagINC/examples/lib/Foo.pm
/usr/share/doc/packages/perl-Test-DiagINC/examples/lib/SyntaxErr.pm
/usr/share/licenses/perl-Test-DiagINC
/usr/share/licenses/perl-Test-DiagINC/LICENSE
/usr/share/man/man3/Test::DiagINC.3pm.gz

 
ICM