Commit dfd500a5 authored by Alexandre GBAGUIDI AISSE's avatar Alexandre GBAGUIDI AISSE
Browse files

tests: Improve tests related to SAT-minimization

* tests/core/satmin.test: Delete check for SPOT_SATSOLVER env
variable and add state numbers verification.
* tests/core/satmin2.test: Delete check for SPOT_SATSOLVER
env variable.
* tests/python/satmin.py: Delete check for SPOT_SATSOLVER
env variable.
parent 32f040fa
This diff is collapsed.
...@@ -21,9 +21,6 @@ ...@@ -21,9 +21,6 @@
. ./defs . ./defs
set -e set -e
# Skip if $SATSOLVE is not installed.
(${SATSOLVER-glucose} --help >/dev/null 2>&1) || exit 77
autfilt=autfilt autfilt=autfilt
ltlfilt=ltlfilt ltlfilt=ltlfilt
...@@ -152,8 +149,8 @@ properties: trans-labels explicit-labels trans-acc colored complete ...@@ -152,8 +149,8 @@ properties: trans-labels explicit-labels trans-acc colored complete
properties: deterministic properties: deterministic
--BODY-- --BODY--
State: 0 State: 0
[0] 0 {0} [!0] 0 {0}
[!0] 0 {1} [0] 0 {1}
--END-- --END--
EOF EOF
......
...@@ -17,13 +17,8 @@ ...@@ -17,13 +17,8 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
import shutil
import sys
import spot import spot
# Ignore the test if glucose is not installed.
if shutil.which("glucose") == None:
sys.exit(77)
aut = spot.translate('GFa & GFb', 'BA') aut = spot.translate('GFa & GFb', 'BA')
assert aut.num_sets() == 1 assert aut.num_sets() == 1
......
Markdown is supported
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