* src/evtgbaalgos/save.cc (save_bfs::output_acc_set): Sort
acceptance conditions in the output. * src/evtgbatest/readsave.test, src/evtgbatest/product.test: Adjust.
This commit is contained in:
parent
6c1152d819
commit
a31ab32b9b
4 changed files with 12 additions and 12 deletions
|
|
@ -49,10 +49,8 @@ EOF
|
|||
|
||||
run 0 ./product input1 input2 input3 >stdout
|
||||
|
||||
perl -pi -e 's/Acc2 Acc1/Acc1 Acc2/g;' stdout
|
||||
|
||||
cat >expected <<\EOF
|
||||
acc = Acc3 Acc1 Acc2;
|
||||
acc = Acc1 Acc2 Acc3;
|
||||
init = "<s1, t1, u1>" "<s1, t1, u2>";
|
||||
"<s1, t1, u1>", "<s2, t2, u1>", a,;
|
||||
"<s1, t1, u2>", "<s2, t2, u2>", a,;
|
||||
|
|
|
|||
|
|
@ -43,17 +43,11 @@ s2, "state 3", "\"he\\llo\"", c;
|
|||
"state 3", s1, e4,;
|
||||
EOF
|
||||
|
||||
# Sort out some possible inversions in the output.
|
||||
# (The order is not guaranteed by SPOT.)
|
||||
sed 's/d c/c d/g' stdout > tmp_ && mv tmp_ stdout
|
||||
|
||||
diff stdout expected
|
||||
|
||||
mv stdout input
|
||||
run 0 ./readsave input > stdout
|
||||
|
||||
sed 's/d c/c d/g' stdout > tmp_ && mv tmp_ stdout
|
||||
|
||||
diff input stdout
|
||||
|
||||
rm input stdout expected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue