fix spurious test-case failure when Python is not installed
Fixes #530. * tests/core/ltlsynt2.test: Skip when PYTHON is empty. * NEWS: Mention the fix.
This commit is contained in:
parent
7a97a6080c
commit
039cd756d5
2 changed files with 6 additions and 3 deletions
5
NEWS
5
NEWS
|
|
@ -17,9 +17,10 @@ New in spot 2.11.4.dev (not yet released)
|
||||||
- spot::bdd_to_cnf_formula() is a new variant of spot::bdd_to_formula()
|
- spot::bdd_to_cnf_formula() is a new variant of spot::bdd_to_formula()
|
||||||
that converts a BDD into a CNF instead of a DNF.
|
that converts a BDD into a CNF instead of a DNF.
|
||||||
|
|
||||||
Python:
|
Bug fixes:
|
||||||
|
|
||||||
- spot.acd() no longer depends on jQuery for interactivity.
|
- Fix spurious failure of ltlsynt2.test when Python is not installed
|
||||||
|
(issue #530).
|
||||||
|
|
||||||
New in spot 2.11.4 (2023-02-10)
|
New in spot 2.11.4 (2023-02-10)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright (C) 2022 Laboratoire de Recherche et Développement de
|
# Copyright (C) 2022, 2023 Laboratoire de Recherche et Développement de
|
||||||
# l'Epita (LRDE).
|
# l'Epita (LRDE).
|
||||||
#
|
#
|
||||||
# This file is part of Spot, a model checking library.
|
# This file is part of Spot, a model checking library.
|
||||||
|
|
@ -36,6 +36,8 @@ ltlsynt --ins=i1,i2 -F formulas.ltl -f 'o1 & F(i1 <-> o2)' -q --csv=out.csv &&\
|
||||||
exit 2
|
exit 2
|
||||||
test $? -eq 1 || exit 2
|
test $? -eq 1 || exit 2
|
||||||
|
|
||||||
|
test -z "$PYTHON" && exit 77
|
||||||
|
|
||||||
cat >test.py <<EOF
|
cat >test.py <<EOF
|
||||||
import sys
|
import sys
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue