summaryrefslogtreecommitdiff
path: root/tests/cdash
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-01-03 23:53:05 +0000
committerBenny Prijono <bennylp@teluu.com>2009-01-03 23:53:05 +0000
commit53a5a92439bc355fe938807c25fdf44cf88eb156 (patch)
tree1057a43738a377192b2367cc0038c5c5e87343c7 /tests/cdash
parentc6d3685a33cb36333303d34e36274503db2afd94 (diff)
Added dummy configure test for VS and Symbian tests and don't stop the whole tests when exception thrown from ccdash
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2413 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/cdash')
-rw-r--r--tests/cdash/builder.py15
1 files changed, 13 insertions, 2 deletions
diff --git a/tests/cdash/builder.py b/tests/cdash/builder.py
index 0ce15b74..79066e8a 100644
--- a/tests/cdash/builder.py
+++ b/tests/cdash/builder.py
@@ -252,7 +252,16 @@ class TestBuilder:
b.extend(a)
a = b
#print a
- rc = ccdash.main(a)
+ try:
+ rc = ccdash.main(a)
+ except Exception, e:
+ errmsg = str(e)
+ print "**** Error: ccdash got exception %s ****" % errmsg
+ rc = -1
+ except:
+ print "**** Error: ccdash got unknown exception ****"
+ rc = -1
+
if rc!=0 and a[1] in mandatory_op:
print "Stopping because of error.."
break
@@ -385,7 +394,8 @@ class MSVCTestBuilder(TestBuilder):
cmds = []
cmds.extend(update_ops)
- cmds.extend([Operation(Operation.BUILD, vccmd)])
+ cmds.append(Operation(Operation.CONFIGURE, "CMD /C echo Nothing to do"))
+ cmds.append(Operation(Operation.BUILD, vccmd))
cmds.extend(std_test_ops)
cmds.extend(build_pjsua_test_ops(pjsua))
@@ -473,6 +483,7 @@ class SymbianTestBuilder(TestBuilder):
cmds = []
cmds.extend(update_ops)
+ cmds.append(Operation(Operation.CONFIGURE, "CMD /C echo Nothing to do"))
cmds.extend([Operation(Operation.BUILD, cmdline)])
self.ccdash_args = []