Hi Matthew ,<br><br><br>i have enabled the framework and tested the script, after running i am getting some FAILS <br><br><br><pre>-> tests/channels/SIP/refer_replaces_to_self --- FAILED
--> tests/channels/SIP/sip_tls_call --- FAILED
--> tests/channels/SIP/sip_cause --- FAILED
--> tests/masquerade --- FAILED<br><br><br>let me know still what i am missing in the testsuite.<br><br><br>Regards<br>Upendra<br></pre><br><br><div class="gmail_quote">On Thu, Sep 6, 2012 at 6:41 PM, Matthew Jordan <span dir="ltr"><<a href="mailto:mjordan@digium.com" target="_blank">mjordan@digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
----- Original Message -----<br>
<br>
> From: "upendra" <<a href="mailto:uppi.me@gmail.com">uppi.me@gmail.com</a>><br>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion"<br>
> <<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br>
> Sent: Thursday, September 6, 2012 2:22:24 AM<br>
> Subject: [asterisk-users] Asterisk Test Suite error<br>
<div class="im"><br>
> Hi,<br>
<br>
> i am trying to install the Asterisk test suite on my ubuntu system ,<br>
> i have followed all the installlation steps as mentioned in the link<br>
> (<br>
> <a href="http://blogs.asterisk.org/2010/04/29/installing-the-asterisk-test-suite/" target="_blank">http://blogs.asterisk.org/2010/04/29/installing-the-asterisk-test-suite/</a><br>
> ) , but when i am trying to run the script some of the test cases<br>
> are PASSED and most of them are FAILED and SKIPPPED. So please help<br>
> me out to do the testing correctly.<br>
<br>
> The following is the test report i got after running the script.<br>
<br>
</div><snip><br>
<br>
<br>
There is newer documentation on the Asterisk wiki:<br>
<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Test+Suite+Documentation" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Asterisk+Test+Suite+Documentation</a><br>
<br>
There are pages that describe how to install and run the Test Suite under that<br>
page.<br>
<br>
Skipped tests happen when you are missing a dependency that the test needs to<br>
run. If you look at a verbose report for each test (which should also be output<br>
when the test run finishes), it should tell you what dependency was missing.<br>
<br>
Most of your failed tests appear to be those that require the TEST_FRAMEWORK<br>
compile time option in Asterisk. You can enable that in menuselect when you<br>
have configured Asterisk with --enable-dev-mode.<br>
<br>
Those tests *should* have picked up the fact that the TEST_FRAMEWORK wasn't<br>
enabled and should have been skipped (so long as the Asterisk directory that<br>
the Test Suite is sitting in has that option enabled in its build options),<br>
but there is a known bug with those test's YAML configuration that is preventing<br>
them from picking up the TEST_FRAMEWORK flag. Until we can get that cleaned up,<br>
enabling the TEST_FRAMEWORK flag should resolve that problem.<br>
<br>
--<br>
Matthew Jordan<br>
Digium, Inc. | Engineering Manager<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>
Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>