No need to insist on fresh builds with test_build_*

This commit is contained in:
Georg Brandl 2014-09-21 18:41:08 +02:00
parent b335e03b02
commit b637f0a728
3 changed files with 7 additions and 7 deletions

View File

@ -21,21 +21,21 @@ from etree13 import ElementTree as ET
ENV_WARNINGS = """\ ENV_WARNINGS = """\
%(root)s/autodoc_fodder.py:docstring of autodoc_fodder\\.MarkupError:2: \ (%(root)s/autodoc_fodder.py:docstring of autodoc_fodder\\.MarkupError:2: \
WARNING: Explicit markup ends without a blank line; unexpected \ WARNING: Explicit markup ends without a blank line; unexpected \
unindent\\.\\n? unindent\\.\\n?
%(root)s/images.txt:9: WARNING: image file not readable: foo.png )?%(root)s/images.txt:9: WARNING: image file not readable: foo.png
%(root)s/images.txt:23: WARNING: nonlocal image URI found: \ %(root)s/images.txt:23: WARNING: nonlocal image URI found: \
http://www.python.org/logo.png http://www.python.org/logo.png
%(root)s/includes.txt:\\d*: WARNING: Encoding 'utf-8-sig' used for \ %(root)s/includes.txt:\\d*: WARNING: Encoding 'utf-8-sig' used for \
reading included file u'.*?wrongenc.inc' seems to be wrong, try giving an \ reading included file u'.*?wrongenc.inc' seems to be wrong, try giving an \
:encoding: option\\n? :encoding: option\\n?
%(root)s/includes.txt:4: WARNING: download file not readable: .*?nonexisting.png %(root)s/includes.txt:4: WARNING: download file not readable: .*?nonexisting.png
%(root)s/markup.txt:\\d+: WARNING: Malformed :option: u'Python c option', does \ (%(root)s/markup.txt:\\d+: WARNING: Malformed :option: u'Python c option', does \
not contain option marker - or -- or / or \\+ not contain option marker - or -- or / or \\+
%(root)s/undecodable.txt:3: WARNING: undecodable source characters, replacing \ %(root)s/undecodable.txt:3: WARNING: undecodable source characters, replacing \
with "\\?": b?'here: >>>\\\\xbb<<<' with "\\?": b?'here: >>>\\\\xbb<<<'
""" )?"""
HTML_WARNINGS = ENV_WARNINGS + """\ HTML_WARNINGS = ENV_WARNINGS + """\
%(root)s/images.txt:20: WARNING: no matching candidate for image URI u'foo.\\*' %(root)s/images.txt:20: WARNING: no matching candidate for image URI u'foo.\\*'
@ -341,7 +341,7 @@ def check_extra_entries(outdir):
assert (outdir / 'robots.txt').isfile() assert (outdir / 'robots.txt').isfile()
@gen_with_app(buildername='html', freshenv=True, @gen_with_app(buildername='html',
confoverrides={'html_context.hckey_co': 'hcval_co'}, confoverrides={'html_context.hckey_co': 'hcval_co'},
tags=['testtag']) tags=['testtag'])
def test_html_output(app, status, warning): def test_html_output(app, status, warning):

View File

@ -33,7 +33,7 @@ if PY3:
LATEX_WARNINGS = remove_unicode_literals(LATEX_WARNINGS) LATEX_WARNINGS = remove_unicode_literals(LATEX_WARNINGS)
@with_app(buildername='latex', freshenv=True) @with_app(buildername='latex')
def test_latex(app, status, warning): def test_latex(app, status, warning):
LaTeXTranslator.ignore_missing_images = True LaTeXTranslator.ignore_missing_images = True
app.builder.build_all() app.builder.build_all()

View File

@ -32,7 +32,7 @@ if PY3:
TEXINFO_WARNINGS = remove_unicode_literals(TEXINFO_WARNINGS) TEXINFO_WARNINGS = remove_unicode_literals(TEXINFO_WARNINGS)
@with_app('texinfo', freshenv=True) @with_app('texinfo')
def test_texinfo(app, status, warning): def test_texinfo(app, status, warning):
TexinfoTranslator.ignore_missing_images = True TexinfoTranslator.ignore_missing_images = True
app.builder.build_all() app.builder.build_all()