Пример #1
0
    def test_config(self, doctrine_dir):
        
        self.doctrine_dir = doctrine_dir
        tdir              = self.temp_dir
        d                 = hg_interface.get_modified_hosts( self.doctrine_dir )
        
        
        def got_hosts( modified_hosts ):
            try:
                b = Builder( self.doctrine_dir, tdir, os.path.join(tdir, 'test_build_temp') )

                b.build_dist( modified_hosts )
                
                b.cleanup()
                
            except ProfigureException, e:
                print 'Error in doctrine: ' + str(e)
                print 'Test aborted.'
                return
            
            except:
Пример #2
0
 def rev_set(_):
     return hg_interface.get_modified_hosts( self.repository, orig_rev, rev_number )