[asterisk-scf-commits] asterisk-scf/integration/testsuite.git branch "review" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue May 24 07:02:21 CDT 2011


branch "review" has been updated
       via  126d622cc299b903ea809c54a142269d1627139e (commit)
      from  a8232a8ff436505ca0700262f41bd80602743ab7 (commit)

Summary of changes:
 plugins/build.py                            |    9 +++++----
 tests/build/Build_AsteriskSCF/testcase.yaml |    8 ++++----
 2 files changed, 9 insertions(+), 8 deletions(-)


- Log -----------------------------------------------------------------
commit 126d622cc299b903ea809c54a142269d1627139e
Author: Darren Sessions <dsessions at digium.com>
Date:   Tue May 24 07:02:17 2011 -0500

    more work on the builder plugin. have successfully gotten builds to work, just need to finish up the install.

diff --git a/plugins/build.py b/plugins/build.py
index cdf9fd5..61fe962 100644
--- a/plugins/build.py
+++ b/plugins/build.py
@@ -13,6 +13,8 @@ import util
 
 class testsuite(util.TestSuiteRemoteBaseClass):
     def main(self, testData, testPath, rpc):
+
+        print testData
     
         if not 'repo' in testData['cmd']:
             return {'success':False,'msg':'No repo specified.'}
@@ -54,13 +56,12 @@ class testsuite(util.TestSuiteRemoteBaseClass):
 
         if 'make_cmd' in testData['cmd']:
             for cmds in testData['cmd']['make_cmd']:
-                results = rpc.run('build', 'make', cmds.split(' '), True)
+                results = rpc.run('build', cmds, cmds.split(' '), True)
                 if results['success'] == False:
                     return results
         
-        return {'success':True}
+        return {'success':True,'shutdownExempt':True}
 
     def _scratchBuild(self, rpc, name, type, getCmd, repo):
         results = rpc.run('build', name, [type, getCmd, repo], True)
-        if results['success'] == False:
-            return results
+        return results
diff --git a/tests/build/Build_AsteriskSCF/testcase.yaml b/tests/build/Build_AsteriskSCF/testcase.yaml
index e21c490..9dfe806 100644
--- a/tests/build/Build_AsteriskSCF/testcase.yaml
+++ b/tests/build/Build_AsteriskSCF/testcase.yaml
@@ -3,7 +3,7 @@ tests :
     - ice_cpp :
         timeline :
             - build :
-                testsuite_remote : testsuite-server.digium.internal
+                testsuite_remote : testsuite-builder-1.digium.internal
                 cmd :
                     pull_update : True
                     repo : 'git://git.asterisk.org/asterisk-scf/release/ice'
@@ -14,7 +14,7 @@ tests :
     - ice_python :
         timeline :
             - build :
-                testsuite_remote : testsuite-server.digium.internal
+                testsuite_remote : testsuite-builder-1.digium.internal
                 cmd :
                     pull_update : True
                     repo : 'git://git.asterisk.org/asterisk-scf/release/ice'
@@ -25,7 +25,7 @@ tests :
     - slice_plugins :
         timeline:
             - build :
-                testsuite_remote : testsuite-server.digium.internal
+                testsuite_remote : testsuite-builder-1.digium.internal
                 cmd :
                     pull_update : True
                     repo : 'git://git.asterisk.org/asterisk-scf/release/slice-plugins'
@@ -37,7 +37,7 @@ tests :
     - asterisk_scf :
         timeline:
             - build :
-                testsuite_remote : testsuite-server.digium.internal
+                testsuite_remote : testsuite-builder-1.digium.internal
                 cmd :
                     pull_update : True
                     repo : 'git://git.asterisk.org/asterisk-scf/integration/gitall'

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/testsuite.git



More information about the asterisk-scf-commits mailing list