modelcheck: update tests

* tests/ltsmin/check.test,
tests/ltsmin/check2.test,
tests/ltsmin/check3.test,
tests/ltsmin/finite2.test,
tests/ltsmin/finite3.test: here.
This commit is contained in:
Etienne Renault 2017-11-20 16:19:33 +01:00
parent 0b917af762
commit 80746e4332
5 changed files with 58 additions and 43 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Laboratoire de Recherche
# Copyright (C) 2016, 2017 Laboratoire de Recherche
# et Développement de l'Epita (LRDE).
#
# This file is part of Spot, a model checking library.
@ -27,12 +27,13 @@ fi
set -e
for opt in '' '-z'; do
for opt in '' '--compress 1'; do
# The three examples from the README.
# (Don't run the first one using "run 0" because it would take too much
# time with valgrind.).
run 0 ../modelcheck $opt -e $srcdir/beem-peterson.4.gal \
'!G("P_0.state==2" -> F "P_0.state==1")'
run 0 ../modelcheck $opt -e $srcdir/beem-peterson.4.gal '!G("pos[1] < 3")'
run 1 ../modelcheck $opt --is-empty --model $srcdir/beem-peterson.4.gal \
--formula '!G("P_0.state==2" -> F "P_0.state==1")'
run 1 ../modelcheck $opt --is-empty --model $srcdir/beem-peterson.4.gal \
--formula '!G("pos[1] < 3")'
done