gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: gump/python/gump engine.py
Date Wed, 03 Mar 2004 20:32:14 GMT
ajack       2004/03/03 12:32:14

  Modified:    python/gump engine.py
  Log:
  1) More formatting for 'results on other servers'.
  2) Exclude gumpy.lock and gumpy.log
  3) Tweaks to gumpy.py (i.e. add --check)
  
  Revision  Changes    Path
  1.72      +10 -5     gump/python/gump/engine.py
  
  Index: engine.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/engine.py,v
  retrieving revision 1.71
  retrieving revision 1.72
  diff -u -r1.71 -r1.72
  --- engine.py	3 Mar 2004 01:02:25 -0000	1.71
  +++ engine.py	3 Mar 2004 20:32:14 -0000	1.72
  @@ -762,17 +762,20 @@
           
       def checkModules(self,run):
           # Check all the modules
  -        for module in run.getGumpSet().getModules():                  
  +        list=run.getGumpSet().getModules()
  +        moduleCount=len(list)
  +        moduleNo=1
  +        for module in list:      
  +        
  +            log.info(' ------ Module: #[' + `moduleNo` + '] of [' + `moduleCount` + ']
: ' + module.getName())
  +                        
               module.changeState(STATE_SUCCESS)        
  +            moduleNo+=1
   
       def checkProjects(self,run):
           list=run.getGumpSet().getProjects()
           # Check all projects
                   
  -        log.debug('Total Project CheckList:');
  -        for p in list:
  -            log.debug('  To Check : ' + p.name)
  -            
           projectCount=len(list)
           projectNo=1
           for project in list:  
  @@ -788,6 +791,8 @@
               if not project.okToPerformWork():
                   log.warn('Failed to check project #[' + `projectNo` + '] [' + project.getName()
+ '], state:' \
                           + project.getStateDescription())
  +            
  +            projectNo+=1
   
           
       
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message