Commit e31073ee authored by Akim Demaille's avatar Akim Demaille
Browse files

tests: rename ipynbdoctest.py as ipynbdoctest

parent c376ad2c
......@@ -214,7 +214,7 @@ check-doc:
EXTRA_DIST += %D%/check-notebooks
# Check input/output in the notebooks.
IPYNBDOCTEST = $(srcdir)/tests/bin/ipynbdoctest.py
IPYNBDOCTEST = $(srcdir)/tests/bin/ipynbdoctest
vcsn_python += $(IPYNBDOCTEST)
TEST_EXTENSIONS += .ipynb
IPYNB_LOG_DRIVER = $(TAP_DRIVER)
......
......@@ -47,12 +47,12 @@ def user_proc(proc):
# The cmdline is something like
# ['/opt/local/Library/Frameworks/Python.framework/Versions/3.5/'
# 'Resources/Python.app/Contents/MacOS/Python',
# '/Users/akim/src/lrde/2/tests/bin/ipynbdoctest.py', '--tap',
# '/Users/akim/src/lrde/2/tests/bin/ipynbdoctest', '--tap',
# '/Users/akim/src/lrde/2/doc/notebooks/Spell-checker.ipynb'].
# There are three lines for each notebook, the two others are the
# shell running tap-driver.sh. So keep only the line without
# tap-driver.
m = search(r'ipynbdoctest.py --tap (?:.*?/)?([^/]*\.ipynb)', cmd)
m = search(r'ipynbdoctest --tap (?:.*?/)?([^/]*\.ipynb)', cmd)
if m and 'tap-driver.sh' not in cmd:
title, message = 'CHECK', m.group(1)
print_proc(title, message, proc)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment