-e means we expect an accepting run.
* iface/dve2/dve2check.cc: Reverse the value of expect_counter_example with respect to the -e/-E options. * iface/dve2/dve2check.test: Swap -e and -E.
This commit is contained in:
parent
7aefc190c9
commit
1719287b1e
3 changed files with 13 additions and 5 deletions
|
|
@ -1,3 +1,11 @@
|
|||
2011-07-26 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
-e means we expect an accepting run.
|
||||
|
||||
* iface/dve2/dve2check.cc: Reverse the value of
|
||||
expect_counter_example with respect to the -e/-E options.
|
||||
* iface/dve2/dve2check.test: Swap -e and -E.
|
||||
|
||||
2011-06-26 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
Add some "drop shadow" in ltl2tgba.html.
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ main(int argc, char **argv)
|
|||
if (!*echeck_algo)
|
||||
echeck_algo = "Cou99";
|
||||
|
||||
expect_counter_example = (*opt == 'E');
|
||||
expect_counter_example = (*opt == 'e');
|
||||
output = EmptinessCheck;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,15 +39,15 @@ for opt in '' '-z'; do
|
|||
# (Don't run the first one using "run 0" because it would take too much
|
||||
# time with valgrind.).
|
||||
|
||||
../dve2check $opt -e $srcdir/beem-peterson.4.dve \
|
||||
../dve2check $opt -E $srcdir/beem-peterson.4.dve \
|
||||
'!GF(P_0.CS|P_1.CS|P_2.CS|P_3.CS)'
|
||||
run 0 ../dve2check $opt -E $srcdir/beem-peterson.4.dve \
|
||||
run 0 ../dve2check $opt -e $srcdir/beem-peterson.4.dve \
|
||||
'!G(P_0.wait -> F P_0.CS)' > stdout1
|
||||
# same formula, different syntax.
|
||||
run 0 ../dve2check $opt -E $srcdir/beem-peterson.4.dve \
|
||||
run 0 ../dve2check $opt -e $srcdir/beem-peterson.4.dve \
|
||||
'!G("P_0 == wait" -> F "P_0 == CS")' > stdout2
|
||||
cmp stdout1 stdout2
|
||||
run 0 ../dve2check $opt -E $srcdir/beem-peterson.4.dve '!G("pos[1] < 3")'
|
||||
run 0 ../dve2check $opt -e $srcdir/beem-peterson.4.dve '!G("pos[1] < 3")'
|
||||
done
|
||||
|
||||
# Now check some error messages.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue