* configure.ac: Enable parallel-tests. * src/eltltest/defs.in, src/evtgbatest/defs.in, src/ltltest/defs.in, src/tgbatest/defs.in: Always output verbose tests. Make a subdirectory for each test case. * src/ltltest/Makefile.am, src/eltltest/Makefile.am, src/tgbatest/Makefile.am, src/evtgbatest/Makefile.am: Remove CLEANFILES and clean the test subdirectories in a distclean-local rule instead. * src/eltltest/acc.test, src/eltltest/nfa.test, src/evtgbatest/explicit.test, src/evtgbatest/ltl2evtgba.test, src/evtgbatest/product.test, src/evtgbatest/readsave.test, src/ltltest/equals.test, src/ltltest/lunabbrev.test, src/ltltest/nenoform.test, src/ltltest/parse.test, src/ltltest/parseerr.test, src/ltltest/reduc.test, src/ltltest/reduccmp.test, src/ltltest/syntimpl.test, src/ltltest/tostring.test, src/ltltest/tunabbrev.test, src/ltltest/tunenoform.test, src/tgbatest/bddprod.test, src/tgbatest/complementation.test, src/tgbatest/dfs.test, src/tgbatest/dupexp.test, src/tgbatest/eltl2tgba.test, src/tgbatest/emptchk.test, src/tgbatest/emptchke.test, src/tgbatest/emptchkr.test, src/tgbatest/explicit.test, src/tgbatest/explpro2.test, src/tgbatest/explpro3.test, src/tgbatest/explpro4.test, src/tgbatest/explprod.test, src/tgbatest/ltl2neverclaim.test, src/tgbatest/ltl2tgba.test, src/tgbatest/ltlprod.test, src/tgbatest/mixprod.test, src/tgbatest/readsave.test, src/tgbatest/reduccmp.test, src/tgbatest/reductgba.test, src/tgbatest/scc.test, src/tgbatest/spotlbtt.test, src/tgbatest/tgbaread.test, src/tgbatest/tripprod.test: Adjust to run from a subdirectory.
49 lines
1.4 KiB
Bash
Executable file
49 lines
1.4 KiB
Bash
Executable file
#!/bin/sh
|
|
# Copyright (C) 2003, 2004, 2009 Laboratoire d'Informatique de Paris 6 (LIP6),
|
|
# département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
|
# et Marie Curie.
|
|
#
|
|
# This file is part of Spot, a model checking library.
|
|
#
|
|
# Spot is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# Spot is distributed in the hope that it will be useful, but WITHOUT
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
|
|
# License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with Spot; see the file COPYING. If not, write to the Free
|
|
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
# 02111-1307, USA.
|
|
|
|
|
|
. ./defs
|
|
|
|
set -e
|
|
|
|
check ()
|
|
{
|
|
run 0 ../ltl2evtgba "$1"
|
|
run 0 ../ltl2evtgba -Uun1,un2,un3 "$1"
|
|
}
|
|
|
|
# We don't check the output, but just running these might be enough to
|
|
# trigger assertions.
|
|
|
|
check a
|
|
check 'a U b'
|
|
check 'X a'
|
|
check 'a & b & c'
|
|
check 'a | b | (c U (d & (g U (h ^ i))))'
|
|
check 'Xa & (b U !a) & (b U !a)'
|
|
check 'Fa & Xb & GFc & Gd'
|
|
check 'Fa & Xa & GFc & Gc'
|
|
check 'Fc & X(a | Xb) & GF(a | Xb) & Gc'
|
|
check 'a R (b R c)'
|
|
check '(a U b) U (c U d)'
|
|
|
|
check '((Xp2)U(X(1)))*(p1 R(p2 R p0))'
|