From 53a5a92439bc355fe938807c25fdf44cf88eb156 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sat, 3 Jan 2009 23:53:05 +0000 Subject: 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 --- tests/cdash/builder.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'tests/cdash') 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 = [] -- cgit v1.2.3