tests: git rid of all the tool=tool assignents
Our use of ltl2tgba=ltl2tgba autfilt=autfilt ... all over the test cases comes from the time where those tools were not in PATH and we actually had something like ltl2tgba=../../bin/ltl2tgba autfilt=../../bin/autfilt But today that is useless, and we prefer to write ltl2tgba rather than $ltl2tgba, so let's remove this old cruft. * tests/core/basimul.test, tests/core/det.test, tests/core/lbt.test, tests/core/lenient.test, tests/core/ltl2dstar.test, tests/core/ltl2dstar2.test, tests/core/ltl2dstar3.test, tests/core/ltl2dstar4.test, tests/core/ltlcross2.test, tests/core/ltlcross3.test, tests/core/ltlcross4.test, tests/core/ltlcrossce2.test, tests/core/ltldo.test, tests/core/ltlfilt.test, tests/core/optba.test, tests/core/prodor.test, tests/core/rand.test, tests/core/randomize.test, tests/core/remfin.test, tests/core/satmin.test, tests/core/sbacc.test, tests/core/strength.test, tests/core/stutter-ltl.test, tests/core/stutter-tgba.test, tests/core/unabbrevwm.test, tests/core/unambig.test: Get rid of all tool=tool assignments.
This commit is contained in:
parent
a31ba7ff80
commit
a9a375ccd8
26 changed files with 290 additions and 374 deletions
|
|
@ -21,9 +21,6 @@
|
|||
. ./defs
|
||||
set -e
|
||||
|
||||
ltl2tgba=ltl2tgba
|
||||
autfilt=autfilt
|
||||
|
||||
# Two empty automata
|
||||
cat >a1.hoa <<EOF
|
||||
HOA: v1
|
||||
|
|
@ -48,11 +45,11 @@ State: 0
|
|||
EOF
|
||||
|
||||
# the OR product of two empty automata should be empty
|
||||
$autfilt --product-or a1.hoa a2.hoa -H | $autfilt --is-empty
|
||||
autfilt --product-or a1.hoa a2.hoa -H | autfilt --is-empty
|
||||
|
||||
$ltl2tgba -DH 'GFa' > gfa.hoa
|
||||
$ltl2tgba -DH 'FGb' > fgb.hoa
|
||||
$autfilt --product-or gfa.hoa fgb.hoa -H > por.hoa
|
||||
ltl2tgba -DH 'GFa' > gfa.hoa
|
||||
ltl2tgba -DH 'FGb' > fgb.hoa
|
||||
autfilt --product-or gfa.hoa fgb.hoa -H > por.hoa
|
||||
cat por.hoa
|
||||
|
||||
cat >exp <<EOF
|
||||
|
|
@ -81,9 +78,9 @@ State: 2
|
|||
EOF
|
||||
diff por.hoa exp
|
||||
|
||||
test 2 = `$autfilt -c --intersect por.hoa gfa.hoa fgb.hoa`
|
||||
test 2 = `autfilt -c --intersect por.hoa gfa.hoa fgb.hoa`
|
||||
|
||||
$autfilt --product-and gfa.hoa fgb.hoa -H > pand.hoa
|
||||
autfilt --product-and gfa.hoa fgb.hoa -H > pand.hoa
|
||||
cat pand.hoa
|
||||
|
||||
cat >exp <<EOF
|
||||
|
|
@ -107,11 +104,11 @@ State: 1
|
|||
EOF
|
||||
diff pand.hoa exp
|
||||
|
||||
test 2 = `$autfilt -c --intersect pand.hoa gfa.hoa fgb.hoa`
|
||||
test 2 = `autfilt -c --intersect pand.hoa gfa.hoa fgb.hoa`
|
||||
|
||||
$ltl2tgba -BDH 'GFa' > gfa.hoa
|
||||
$ltl2tgba -BDH 'Xb' > xb.hoa
|
||||
$autfilt --product-or gfa.hoa xb.hoa -H > por.hoa
|
||||
ltl2tgba -BDH 'GFa' > gfa.hoa
|
||||
ltl2tgba -BDH 'Xb' > xb.hoa
|
||||
autfilt --product-or gfa.hoa xb.hoa -H > por.hoa
|
||||
cat por.hoa
|
||||
|
||||
cat >exp <<EOF
|
||||
|
|
@ -152,9 +149,9 @@ State: 6
|
|||
EOF
|
||||
diff por.hoa exp
|
||||
|
||||
$ltl2tgba -BDH 'GFa' > gfa.hoa
|
||||
$ltl2tgba -x '!wdba-minimize' -DH 'Xb' > xb.hoa
|
||||
$autfilt --product-or gfa.hoa xb.hoa -H > por.hoa
|
||||
ltl2tgba -BDH 'GFa' > gfa.hoa
|
||||
ltl2tgba -x '!wdba-minimize' -DH 'Xb' > xb.hoa
|
||||
autfilt --product-or gfa.hoa xb.hoa -H > por.hoa
|
||||
cat por.hoa
|
||||
|
||||
cat >exp <<EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue