qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5893) Perl unit tests fail to run
Date Wed, 20 Aug 2014 17:48:26 GMT

    [ https://issues.apache.org/jira/browse/QPID-5893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14104200#comment-14104200
] 

ASF subversion and git services commented on QPID-5893:
-------------------------------------------------------

Commit 1619181 from [~mcpierce] in branch 'qpid/trunk'
[ https://svn.apache.org/r1619181 ]

QPID-5893: Perl unit tests now find the utils module.

The module's not on the @INC path, and really shouldn't be since it's
only used by the tests. So now the tests programmatically update @INC to
include their directory as a part of the path, and find utils.pm.

Fixed the failing Message.t file as well, which includes tests for
methods that are deprecated.

> Perl unit tests fail to run
> ---------------------------
>
>                 Key: QPID-5893
>                 URL: https://issues.apache.org/jira/browse/QPID-5893
>             Project: Qpid
>          Issue Type: Bug
>          Components: Perl Client
>            Reporter: Darryl L. Pierce
>            Assignee: Darryl L. Pierce
>            Priority: Minor
>             Fix For: 0.31
>
>
> Description of problem:
> It is not possible to execute the perl unit tests form the perl-qpid*.src.rpm due to
missing dependency on utils.pm library.
> Version-Release number of selected component (if applicable):
> perl-qpid-0.22-13
> How reproducible:
> 100%
> Steps to Reproduce:
> 1. get the perl-qpid*.src.rpm
> 2. recompile the src.rpm
> 3. try to execute the unit tests
> Actual results:
> utils.pm missing in the perl-qpid*src.rpm 
> unit tests can't be executed
> Expected results:
> utils.pm present in the perl-qpid*src.rpm 
> unit tests may be executed
> Additional info:
> # rpmbuild --recompile perl-qpid-0.22-13.el6.src.rpm
> <snip>
> # cd ~/rpmbuild/BUILD/perl-qpid-0.22
> # perl Message.t
> ok 1 - use qpid;
> Can't locate utils.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5
.) at Message.t line 24.
> 1..1
> # Looks like your test exited with 2 just after 1.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message