[asterisk-commits] mjordan: testsuite/bamboo/trunk r4500 - /bamboo/trunk/bin/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 20 09:51:28 CST 2013


Author: mjordan
Date: Fri Dec 20 09:51:23 2013
New Revision: 4500

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4500
Log:
run-asterisk-unittests: stop using astcli script

When AMI got locked down with live_dangerously, remote execution of some
unit tests will fail. Since we're executing on a target machine anyway,
just use a remote console to execute the test.

Modified:
    bamboo/trunk/bin/run-asterisk-unittests.sh

Modified: bamboo/trunk/bin/run-asterisk-unittests.sh
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/run-asterisk-unittests.sh?view=diff&rev=4500&r1=4499&r2=4500
==============================================================================
--- bamboo/trunk/bin/run-asterisk-unittests.sh (original)
+++ bamboo/trunk/bin/run-asterisk-unittests.sh Fri Dec 20 09:51:23 2013
@@ -68,8 +68,8 @@
 	start_asterisk
 
 	echo "*** Executing Unit Tests (Results: ${TEST_RESULTS_DIR}/unit-test-results.xml) ***"
-	contrib/scripts/astcli -u test -s test "test execute all"
-	contrib/scripts/astcli -u test -s test "test generate results xml ${TEST_RESULTS_DIR}/unit-test-results.xml"
+	asterisk -rx "test execute all"
+	asterisk -rx "test generate results xml ${TEST_RESULTS_DIR}/unit-test-results.xml"
 
 	if [ -f core* ] ; then
 		echo "*** Found a core file after running unit tests ***"




More information about the asterisk-commits mailing list