summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Peveler <matt.peveler@gmail.com>2020-10-03 11:25:10 -0400
committerGitHub <noreply@github.com>2020-10-03 11:25:10 -0400
commita2a5cab0ef46ea6ee54f0b4ebf01f1712d574fd1 (patch)
tree6048374e8076db1155cda7564692a068bf45ce07
parent9f2fe56bb35f30ab3ccd071ae5ff222719433b31 (diff)
downloadasciidoc-py3-a2a5cab0ef46ea6ee54f0b4ebf01f1712d574fd1.tar.gz
print source file when updating test data (#145)
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
-rwxr-xr-xtests/testasciidoc.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/testasciidoc.py b/tests/testasciidoc.py
index 282d25d..4882f80 100755
--- a/tests/testasciidoc.py
+++ b/tests/testasciidoc.py
@@ -93,7 +93,8 @@ class AsciiDocTest(object):
return '%s-%s%s' % (
os.path.normpath(os.path.join(self.datadir, self.name)),
backend,
- BACKEND_EXT[backend])
+ BACKEND_EXT[backend]
+ )
def parse(self, lines, confdir, datadir):
"""
@@ -207,9 +208,13 @@ class AsciiDocTest(object):
backends = self.backends
else:
backends = [backend]
+
+ print('SOURCE: asciidoc: %s' % self.source)
for backend in backends:
if force or self.is_missing_or_outdated(backend):
self.update_expected(backend)
+ print()
+
self.clean_artifacts()
def run(self, backend=None):