Commit d219e4a5 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

tests: reduce the memory/time footprint of ltl2dstar.test

* tests/core/ltl2dstar.test: Reduce the amount of tests performed on
one formula that is problematic for ltl2dstar.
parent a9a375cc
......@@ -39,8 +39,7 @@ RAB=--automata=rabin
STR=--automata=streett
randltl -n 15 a b | ltlfilt --nnf --remove-wm |
ltlcross -F - -f 'GFa & GFb & GFc' -f '(GFa -> GFb) & (GFc -> GFd)' \
--timeout=30 \
ltlcross -F - -f 'GFa & GFb & GFc' --timeout=30 \
"ltl2tgba -s %f >%N" \
"ltl2dstar $RAB --output=nba --ltl2nba=spin:ltl2tgba@-s %L %T" \
"ltl2dstar $RAB --ltl2nba=spin:ltl2tgba@-s %L %D" \
......@@ -50,6 +49,19 @@ ltlcross -F - -f 'GFa & GFb & GFc' -f '(GFa -> GFb) & (GFc -> GFd)' \
"ltl2dstar $STR --ltl2nba=spin:ltl2tgba@-s %L - | dstar2tgba --low -s >%N" \
--csv=out.csv
# We used to include the following formula in the above test, but the
# --output=nba option of ltl2dstar is too memory-hungry on this
# formula, and this is causing issues in our builds. We also reduce
# the size of the products, as they would be too huge.
ltlcross -f '(GFa -> GFb) & (GFc -> GFd)' --verbose --states=100 --timeout=30 \
"ltl2tgba -s %f >%N" \
"ltl2dstar $RAB --output=nba --ltl2nba=spin:ltl2tgba@-s %L %T" \
"ltl2dstar $RAB --ltl2nba=spin:ltl2tgba@-s %L %D" \
"ltl2dstar $RAB --ltl2nba=spin:ltl2tgba@-s %L - | dstar2tgba --low -s >%N" \
"ltl2dstar $STR --ltl2nba=spin:ltl2tgba@-s %L %D" \
"ltl2dstar $STR --ltl2nba=spin:ltl2tgba@-s %L - | dstar2tgba --low -s >%N" \
--csv='>>out.csv'
# A bug in ltlcross <=1.2.5 caused it to not use the complement of the
# negative automaton.
ltlcross -f 'GFa' --verbose \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment