cleanup ltsmin bindings
* python/spot/aux.py (rm_f): new function. * python/spot/ltsmin.i: Replace the %require magic by a simple function. Rewrite the %%dve magic. * tests/python/otfcrash.py: Simplify using spot.ltsmin.require() * tests/python/ltsmin.ipynb: Likewise, also add more text for the documentation. * NEWS: Adjust.
This commit is contained in:
parent
9b5a763538
commit
9692d734a9
5 changed files with 559 additions and 611 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -4,14 +4,7 @@ import tempfile
|
|||
import shutil
|
||||
import sys
|
||||
|
||||
# this test requires divine with --ltsmin support
|
||||
if shutil.which("divine") == None:
|
||||
sys.exit(77)
|
||||
import subprocess
|
||||
out = subprocess.check_output(['divine', 'compile',
|
||||
'--help'], stderr=subprocess.STDOUT)
|
||||
if b'LTSmin' not in out:
|
||||
sys.exit(77)
|
||||
spot.ltsmin.require('divine')
|
||||
|
||||
# the test case actually starts here
|
||||
with tempfile.NamedTemporaryFile(dir='.', suffix='.dve') as fp:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue