Skip to content

Commit

Permalink
Merge branch 'buildbot-0.8.0'
Browse files Browse the repository at this point in the history
* buildbot-0.8.0:
  try (unsuccesfully) to exclude broken_test from epydoc
  fix typo
  • Loading branch information
Dustin J. Mitchell committed Mar 11, 2010
2 parents f23d830 + 34518bc commit e4516e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions buildbot/changes/hgbuildbot.py
Expand Up @@ -62,8 +62,8 @@ def hook(ui, repo, hooktype, node=None, source=None, **kwargs):
branchtype = ui.config('hgbuildbot', 'branchtype')
branch = ui.config('hgbuildbot', 'branch')
fork = ui.configbool('hgbuildbot', 'fork', False)
stripcount = int(ui.config('notify','strip') or # notify also has this setting
ui.config('hgbuildbot','strip',3)))
# notify also has this setting
stripcount = int(ui.config('notify','strip') or ui.config('hgbuildbot','strip',3))
category = ui.config('hgbuildbot', 'category', None)
project = ui.config('hgbuildbot', 'project', '')
else:
Expand Down
6 changes: 5 additions & 1 deletion docs/epyrun
Expand Up @@ -100,7 +100,9 @@ modnames = []
def addMod(arg, path, files):
for fn in files:
file = os.path.join(path, fn).replace('%s__init__'%os.sep, '')
if file[-3:] == '.py' and not file.count('%stest%s' % (os.sep,os.sep)):
if file.count('%stest%s' % (os.sep,os.sep)): continue
if file.count('%sbroken_test%s' % (os.sep,os.sep)): continue
if file[-3:] == '.py':
modName = file[:-3].replace(os.sep,'.')
try:
#print 'pre-loading', modName
Expand Down Expand Up @@ -173,6 +175,8 @@ def main():

if 'buildbot.test' in modnames:
modnames.remove('buildbot.test')
if 'buildbot.broken_test' in modnames:
modnames.remove('buildbot.broken_test')
##if 'twisted' in modnames:
## modnames.remove('twisted')

Expand Down

0 comments on commit e4516e5

Please sign in to comment.