#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
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to