[Buildbot-commits] [SPAM] Re: [Buildbot] #356: doxygen build step

Buildbot buildbot-devel at lists.sourceforge.net
Fri Jan 1 06:55:55 UTC 2010


#356: doxygen build step
------------------------+---------------------------------------------------
Reporter:  ashcrow      |        Owner:  ashcrow 
    Type:  enhancement  |       Status:  assigned
Priority:  minor        |    Milestone:  0.8.+   
 Version:  0.7.12       |   Resolution:          
Keywords:               |  
------------------------+---------------------------------------------------

Comment(by bradh):

 I'm able to run the Doxygen step ok, but I can't manage to set the config
 filename to something other than the default. I tried writing a test case
 for it, and the testcase passes.
 {{{
 @@ -109,12 +109,15 @@ class DoxygenTest(unittest.TestCase):
              raise unittest.SkipTest('doxygen not installed')
          dn2_bin = '/some/fake/path/doxygen'
          dn2 = Doxygen(dn2_bin, ignore_missing_bin=True)
          self.assertEquals(['/usr/bin/doxygen', 'config.doxy', '*'],
 dn.command)
          self.assertEquals([dn2_bin, 'config.doxy', '*'], dn2.command)
          # Failures
          self.assertRaises(errors.NoDocumentationBinaryError, Doxygen,
 'asdasd')

 +    def testAlternateConfigFile(self):
 +        dn = Doxygen(config="myConfigFileName")
 +        self.assertEquals(dn.command, ['/usr/bin/doxygen',
 'myConfigFileName', '*'])

  class EpydocTest(unittest.TestCase):
      """
 }}}

 However the remote command still uses config.doxy. I'm stumped by this
 one.

-- 
Ticket URL: <http://buildbot.net/trac/ticket/356#comment:12>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list