[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
Wed Jun 1 09:38:01 CDT 2011
branch "review" has been updated
via e862c4a5ee80e4ad474bfd4222e19bd49263d2f2 (commit)
from 91fe417899ba31a551224a800138658e06da16d4 (commit)
Summary of changes:
lib/python/TestSuite.py | 4 ++--
tests/build/Build_AsteriskSCF/testcase.yaml | 10 ++++++++--
2 files changed, 10 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit e862c4a5ee80e4ad474bfd4222e19bd49263d2f2
Author: Darren Sessions <dsessions at digium.com>
Date: Wed Jun 1 09:37:57 2011 -0500
ahh.. name spaces.. changed the run function name to execute and added the remote testsuite servers back into the build yaml file.
diff --git a/lib/python/TestSuite.py b/lib/python/TestSuite.py
index e4c06bf..dd970cd 100644
--- a/lib/python/TestSuite.py
+++ b/lib/python/TestSuite.py
@@ -36,7 +36,7 @@ class utils():
w.write(fd)
w.close()
installPath = installPath.replace('!!TMP!!', '%s/tmp' % cwd)
- results = self.run(['tar', '-xvf', '%s/tmp/%s' % (cwd, fn), '-C', '%s' % installPath], cwd, True)
+ results = self.execute(['tar', '-xvf', '%s/tmp/%s' % (cwd, fn), '-C', '%s' % installPath], cwd, True)
if results['success'] == False:
return results
return {'success':'True'}
@@ -50,7 +50,7 @@ class utils():
ipv4, ipv6 = rpc.whatAreMyIps()
return {'success':True, 'rpc':rpc, 'ipv4':ipv4, 'ipv6':ipv6}
- def run(self, cmd, cwd, wait=False):
+ def execute(self, cmd, cwd, wait=False):
for arg in cmd:
try:
cmd[cmd.index(arg)] = arg.replace('!!TMP!!', '%s/tmp' % cwd)
diff --git a/tests/build/Build_AsteriskSCF/testcase.yaml b/tests/build/Build_AsteriskSCF/testcase.yaml
index 04884fe..057793b 100644
--- a/tests/build/Build_AsteriskSCF/testcase.yaml
+++ b/tests/build/Build_AsteriskSCF/testcase.yaml
@@ -36,7 +36,10 @@ tests :
- make install
redistribute :
remotes :
- - dms.digium.internal
+ - testsuite-server
+ - testsuite-remote-1.digium.internal
+ - testsuite-remote-2.digium.internal
+ - testsuite-remote-3.digium.internal
send_dir : '/opt/Ice-3.4.1'
install_dir : /
- asterisk_scf :
@@ -53,6 +56,9 @@ tests :
- cmake --build ./build
redistribute :
remotes :
- - dms.digium.internal
+ - testsuite-server
+ - testsuite-remote-1.digium.internal
+ - testsuite-remote-2.digium.internal
+ - testsuite-remote-3.digium.internal
send_dir : 'gitall'
install_dir : '!!TMP!!'
-----------------------------------------------------------------------
--
asterisk-scf/integration/testsuite.git
More information about the asterisk-scf-commits
mailing list