Use autfilt --isomorph instead of a diff in some tests

* src/tgbatest/degenlskip.test, src/tgbatest/explpro2.test
src/tgbatest/explpro3.test, src/tgbatest/explpro4.test
src/tgbatest/explprod.test, src/tgbatest/neverclaimread.test
src/tgbatest/tripprod.test, src/tgbatest/readsave.test: Here.
This commit is contained in:
Thibaud Michaud 2014-12-09 05:01:40 +01:00 committed by Alexandre Duret-Lutz
parent 1b9354c9b5
commit 68adcc70fa
8 changed files with 91 additions and 87 deletions

View file

@ -89,17 +89,15 @@ State: 1
EOF
run 0 ../../bin/autfilt --merge-transitions --hoa input > stdout
# FIXME: use are-isomorphic once it is available
cat stdout
diff stdout expected
test -n "`../../bin/autfilt -F stdout --isomorph expected`"
# Likewise, with a randomly generated TGBA.
run 0 ../../bin/randaut -S 20 a b -d 0.2 -a 0.2 -A 2 --hoa | tee input
# the first read-write can renumber the states
run 0 $autfilt --hoa --merge-transitions input > stdout
# FIXME: use are-ismorphic
# diff input stdout
test -n "`../../bin/autfilt -F input --isomorph stdout`"
# But this second output should be the same as the first
run 0 $autfilt --hoa stdout > stdout2