spot/tests
Alexandre Duret-Lutz 186d206302 ltsmin-pml: work around newer jupyter versions
Newer Jupyter version are able to capture the system's stdout and
stderr to display it in the notebook.  This is done asynchronously,
with a thread polling those file descriptor.  While this will help us
debug (finaly we can see the tracing code we put in C++) this causes
two issues for testing.  One is the asynchronous behaviour, which
makes it very hard to reproduce notebooks.  The second issue is that
older version of Jupyter used to hide some of the prints from the
notebook, so it is hard to accommodate both.

In the case of the ltsmin-pml notebook, loading the PML file from
a filename used to trigger a compilation silently (with output on the
console, but not in the notebook).  The newer version had the output
of that compilation spread into two cells.

* python/spot/ltsmin.i: Work around the issue by triggering the
compilation from Python, and capturing its output explicitly, so it
work with all Jupyter versions.  Also adjust to use the more recent
and simpler subprocess.run() interface, available since Python 3.5.
* tests/python/ltsmin-pml.ipynb: Adjust expected output.
* tests/python/ipnbdoctest.py (canonicalize): Adjust patterns.
2021-11-15 23:37:08 +01:00
..
core bin: use regexes to detect shorthands, and add support for owl-21.0 2021-11-04 15:24:10 +01:00
ltsmin modelchek: add more tests 2020-06-10 09:02:02 +02:00
python ltsmin-pml: work around newer jupyter versions 2021-11-15 23:37:08 +01:00
sanity parseaut: replace std::map by robin_hood::unordered_flat_map 2021-09-15 16:53:00 +02:00
.gitignore more files to ignore 2016-01-26 19:21:35 +01:00
Makefile.am print_dot: improve the rendering of Mealy machines 2021-10-29 16:45:35 +02:00
run.in improve PyPy support by following PEP 3149 2021-06-29 21:15:04 +02:00