Changeset 2413


Ignore:
Timestamp:
Jan 3, 2009 11:53:05 PM (12 years ago)
Author:
bennylp
Message:

Added dummy configure test for VS and Symbian tests and don't stop the whole tests when exception thrown from ccdash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/tests/cdash/builder.py

    r2411 r2413  
    253253            a = b 
    254254            #print a 
    255             rc = ccdash.main(a) 
     255            try: 
     256                rc = ccdash.main(a) 
     257            except Exception, e: 
     258                errmsg = str(e) 
     259                print "**** Error: ccdash got exception %s ****" % errmsg 
     260                rc = -1 
     261            except: 
     262                print "**** Error: ccdash got unknown exception ****" 
     263                rc = -1 
     264                 
    256265            if rc!=0 and a[1] in mandatory_op: 
    257266                print "Stopping because of error.." 
     
    386395        cmds = [] 
    387396        cmds.extend(update_ops) 
    388         cmds.extend([Operation(Operation.BUILD, vccmd)]) 
     397        cmds.append(Operation(Operation.CONFIGURE, "CMD /C echo Nothing to do")) 
     398        cmds.append(Operation(Operation.BUILD, vccmd)) 
    389399        cmds.extend(std_test_ops) 
    390400        cmds.extend(build_pjsua_test_ops(pjsua)) 
     
    474484        cmds = [] 
    475485        cmds.extend(update_ops) 
     486        cmds.append(Operation(Operation.CONFIGURE, "CMD /C echo Nothing to do")) 
    476487        cmds.extend([Operation(Operation.BUILD, cmdline)]) 
    477488 
Note: See TracChangeset for help on using the changeset viewer.