[asterisk-dev] running pjsip testsuite

Matthew Jordan mjordan at digium.com
Tue Mar 31 08:12:23 CDT 2015


On Tue, Mar 31, 2015 at 8:04 AM, Yaron Nachum <nachum.yaron at gmail.com> wrote:
> Hi everyone,
> I am trying to add some tests for the PJSIP auto-dtmf support . Before I
> start I just wanted to run some of the existing tests in order to understand
> the process.
>
> Whenever I try to run a test from the pjsip tests I get - --- -->
> Dependency: res_pjsip - False. The following output was generated when I
> tried to run the rpid_immediate test:
>
> [root at stnrd5652 testsuite]# ./runtests.py -t
> tests/channels/pjsip/rpid_immediate/
> Running tests for Asterisk SVN-trunk-r431522M
>  ...
>
> Tests to run: 0,  Maximum test inactivity time: -1 sec.
> --> Cannot run test 'tests/channels/pjsip/rpid_immediate'
> --- --> Minimum Version: 13.4.0 (True)
> --- --> Maximum Version:  (True)
> --- --> Tags: ['pjsip']
> --- --> Dependency: twisted - True
> --- --> Dependency: starpy - True
> --- --> Dependency: app_dial - True
> --- --> Dependency: app_echo - True
> --- --> Dependency: func_callerid - True
> --- --> Dependency: chan_pjsip - False
> --- --> Dependency: res_pjsip - False
> --- --> Dependency: res_pjsip_caller_id - False
> --- --> Dependency: res_pjsip_endpoint_identifier_user - False
> --- --> Dependency: res_pjsip_sdp_rtp - False
> --- --> Dependency: res_pjsip_session - False
>
> <?xml version="1.0" encoding="utf-8"?>
> <testsuite errors="0" failures="0" name="AsteriskTestSuite" tests="0"
> time="0.00"/>
>
> Am I doing anything stupid?

Congratulations on getting this far! Looks like you've got most of the
dependencies worked out in the testsuite.

The dependency checking for 'res_pjsip' is looking at what modules you
have installed on the system. Double check that your Asterisk
installation did detect pjproject, and that it built and installed the
res_pjsip* modules. You can check this in menuselect.

Matt

-- 
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-dev mailing list