python: report dot errors

* python/spot/aux.py: Catch errors from dot and signal them.
* tests/python/_aux.ipynb: New file.
* tests/Makefile.am: Add it.
* tests/sanity/ipynb.pl: Support the convention that tests starting with
'_' should not be published on the web site.
This commit is contained in:
Alexandre Duret-Lutz 2016-02-16 14:34:57 +01:00
parent c093b7b78f
commit 22af7aefdf
4 changed files with 86 additions and 5 deletions

View file

@ -65,9 +65,8 @@ close(FD);
open(FD, "$dir/../Makefile.am") or die "$!";
while (<FD>)
{
if (m:python/([\w-]+\.ipynb):)
if (m:python/([^_][\w-]*\.ipynb):)
{
# print "$1 exist";
unless (exists $seen{$1})
{
print STDERR "notebook $1 is not mentioned in tut.org";