[asterisk-commits] dsessions: testsuite/bamboo/trunk r1447 - /bamboo/trunk/bin/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 28 08:34:25 CDT 2011


Author: dsessions
Date: Mon Mar 28 08:34:19 2011
New Revision: 1447

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1447
Log:
Added support for msbuild in the unit tests python script for Asterisk SCF.

Modified:
    bamboo/trunk/bin/asterisk_scf_unit_tests.py
    bamboo/trunk/bin/build-asterisk-scf.sh

Modified: bamboo/trunk/bin/asterisk_scf_unit_tests.py
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/asterisk_scf_unit_tests.py?view=diff&rev=1447&r1=1446&r2=1447
==============================================================================
--- bamboo/trunk/bin/asterisk_scf_unit_tests.py (original)
+++ bamboo/trunk/bin/asterisk_scf_unit_tests.py Mon Mar 28 08:34:19 2011
@@ -30,6 +30,8 @@
         try:
             args[2]
             make = args[2]
+            args[3]
+            mkcmd = args[3]
         except:
             self.total_failures = 1
             return
@@ -38,7 +40,7 @@
 
         cmd = [
             "%s" % make,
-            "test"
+            "%s" % mkcmd
         ]
         if os.path.exists(cmd[0]) and os.access(cmd[0], os.X_OK):
             try:
@@ -108,8 +110,9 @@
     try:
         args[1]
         args[2]
+	args[3]
     except:
-        print "Usage: ./unittests.py [component] [make utility path]\n"
+        print "Usage: ./unittests.py [component] [make utility path] [make command]\n"
 
     obj = unittest()
     obj.run(args)

Modified: bamboo/trunk/bin/build-asterisk-scf.sh
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/build-asterisk-scf.sh?view=diff&rev=1447&r1=1446&r2=1447
==============================================================================
--- bamboo/trunk/bin/build-asterisk-scf.sh (original)
+++ bamboo/trunk/bin/build-asterisk-scf.sh Mon Mar 28 08:34:19 2011
@@ -179,5 +179,5 @@
 	./cmake/init-cmake.sh
 	cmake --build ./build
 fi
-
+ 
 $2asterisk_scf_unit_tests.py $1 $3




More information about the asterisk-commits mailing list