ltlcheck: add options --json and --csv

* src/bin/ltlcheck.cc: Add option --json and --csv.
* src/bin/man/ltlcheck.x: Adjust examples.
* src/tgbatest/ltlcheck.test: Do not output any statistic.
* src/tgbatest/ltlcheck2.test: Output both JSON and CSV stats.
This commit is contained in:
Alexandre Duret-Lutz 2012-10-15 17:31:43 +02:00
parent fc374c0790
commit b2a5d5aa62
4 changed files with 170 additions and 55 deletions

View file

@ -23,7 +23,6 @@
ltl2tgba=../../bin/ltl2tgba
../../bin/randltl -P -n 100 p1 p2 p3 p4 p5 p6 --tree-size 5..15 |
../../bin/ltlfilt --remove-wm |
../../bin/ltlcheck \
"$ltl2tgba --lbtt --any --small %f > %T" \
"$ltl2tgba --lbtt --any --medium %f > %T" \
@ -33,7 +32,7 @@ ltl2tgba=../../bin/ltl2tgba
"$ltl2tgba --lbtt --deterministic --high %f > %T" \
"$ltl2tgba --lbtt --high --small %f > %T" \
"$ltl2tgba --lbtt --high --medium %f > %T" \
"$ltl2tgba --lbtt --high --high %f > %T" > output.json
"$ltl2tgba --lbtt --high --high %f > %T" \
--json=output.json --csv=output.csv