rename ltlcheck as ltlcross
* src/bin/ltlcheck.cc, src/bin/man/ltlcheck.x, src/tgbatest/ltlcheck.test, src/tgbatest/ltlcheck2.test: Rename as ... * src/bin/ltlcross.cc, src/bin/man/ltlcross.x, src/tgbatest/ltlcross.test, src/tgbatest/ltlcross2.test: ... these. * NEWS, src/bin/Makefile.am, src/bin/man/Makefile.am, src/tgbatest/Makefile.am: Adjust.
This commit is contained in:
parent
fa4e6effa6
commit
f3ef9de0be
8 changed files with 21 additions and 20 deletions
2
NEWS
2
NEWS
|
|
@ -33,7 +33,7 @@ New in spot 0.9.2a:
|
||||||
|
|
||||||
- ltl2tgta: Translate LTL/PSL formulas into Testing Automata.
|
- ltl2tgta: Translate LTL/PSL formulas into Testing Automata.
|
||||||
|
|
||||||
- ltlcheck: Compare the output of translators from LTL/PSL to
|
- ltlcross: Compare the output of translators from LTL/PSL to
|
||||||
Büchi automata, to find bug or for benchmarking. This
|
Büchi automata, to find bug or for benchmarking. This
|
||||||
is essentially a Spot-based reimplementation of LBTT
|
is essentially a Spot-based reimplementation of LBTT
|
||||||
that supports PSL in addition to LTL, and that can
|
that supports PSL in addition to LTL, and that can
|
||||||
|
|
|
||||||
|
|
@ -42,11 +42,11 @@ libcommon_a_SOURCES = \
|
||||||
common_setup.hh \
|
common_setup.hh \
|
||||||
common_sys.hh
|
common_sys.hh
|
||||||
|
|
||||||
bin_PROGRAMS = ltlfilt genltl randltl ltl2tgba ltl2tgta ltlcheck
|
bin_PROGRAMS = ltlfilt genltl randltl ltl2tgba ltl2tgta ltlcross
|
||||||
ltlfilt_SOURCES = ltlfilt.cc
|
ltlfilt_SOURCES = ltlfilt.cc
|
||||||
genltl_SOURCES = genltl.cc
|
genltl_SOURCES = genltl.cc
|
||||||
randltl_SOURCES = randltl.cc
|
randltl_SOURCES = randltl.cc
|
||||||
ltl2tgba_SOURCES = ltl2tgba.cc
|
ltl2tgba_SOURCES = ltl2tgba.cc
|
||||||
ltl2tgta_SOURCES = ltl2tgta.cc
|
ltl2tgta_SOURCES = ltl2tgta.cc
|
||||||
ltlcheck_SOURCES = ltlcheck.cc
|
ltlcross_SOURCES = ltlcross.cc
|
||||||
ltlcheck_LDADD = $(LDADD) $(LIB_GETHRXTIME)
|
ltlcross_LDADD = $(LDADD) $(LIB_GETHRXTIME)
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ Exit status:\n\
|
||||||
0 everything went fine (timeouts are OK too)\n\
|
0 everything went fine (timeouts are OK too)\n\
|
||||||
1 some translator failed to output something we understand, or failed\n\
|
1 some translator failed to output something we understand, or failed\n\
|
||||||
sanity checks (statistics were output nonetheless)\n\
|
sanity checks (statistics were output nonetheless)\n\
|
||||||
2 ltlcheck aborted on error\n\
|
2 ltlcross aborted on error\n\
|
||||||
";
|
";
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -104,7 +104,7 @@ static const argp_option options[] =
|
||||||
"not use LBT-style atomic propositions (i.e. p0, p1, ...) will be "
|
"not use LBT-style atomic propositions (i.e. p0, p1, ...) will be "
|
||||||
"relabeled automatically.", 0 },
|
"relabeled automatically.", 0 },
|
||||||
/**************************************************/
|
/**************************************************/
|
||||||
{ 0, 0, 0, 0, "ltlcheck behavior:", 4 },
|
{ 0, 0, 0, 0, "ltlcross behavior:", 4 },
|
||||||
{ "allow-dups", OPT_DUPS, 0, 0,
|
{ "allow-dups", OPT_DUPS, 0, 0,
|
||||||
"translate duplicate formulas in input", 0 },
|
"translate duplicate formulas in input", 0 },
|
||||||
{ "no-checks", OPT_NOCHECKS, 0, 0,
|
{ "no-checks", OPT_NOCHECKS, 0, 0,
|
||||||
|
|
@ -26,7 +26,7 @@ dist_man1_MANS = \
|
||||||
genltl.1 \
|
genltl.1 \
|
||||||
ltl2tgba.1 \
|
ltl2tgba.1 \
|
||||||
ltl2tgta.1 \
|
ltl2tgta.1 \
|
||||||
ltlcheck.1 \
|
ltlcross.1 \
|
||||||
ltlfilt.1 \
|
ltlfilt.1 \
|
||||||
randltl.1
|
randltl.1
|
||||||
|
|
||||||
|
|
@ -39,8 +39,8 @@ ltl2tgba.1: $(common_dep) $(srcdir)/ltl2tgba.x $(srcdir)/../ltl2tgba.cc
|
||||||
ltl2tgta.1: $(common_dep) $(srcdir)/ltl2tgta.x $(srcdir)/../ltl2tgta.cc
|
ltl2tgta.1: $(common_dep) $(srcdir)/ltl2tgta.x $(srcdir)/../ltl2tgta.cc
|
||||||
$(convman) ../ltl2tgta$(EXEEXT) $(srcdir)/ltl2tgta.x $@
|
$(convman) ../ltl2tgta$(EXEEXT) $(srcdir)/ltl2tgta.x $@
|
||||||
|
|
||||||
ltlcheck.1: $(common_dep) $(srcdir)/ltlcheck.x $(srcdir)/../ltlcheck.cc
|
ltlcross.1: $(common_dep) $(srcdir)/ltlcross.x $(srcdir)/../ltlcross.cc
|
||||||
$(convman) ../ltlcheck$(EXEEXT) $(srcdir)/ltlcheck.x $@
|
$(convman) ../ltlcross$(EXEEXT) $(srcdir)/ltlcross.x $@
|
||||||
|
|
||||||
ltlfilt.1: $(common_dep) $(srcdir)/ltlfilt.x $(srcdir)/../ltlfilt.cc
|
ltlfilt.1: $(common_dep) $(srcdir)/ltlfilt.x $(srcdir)/../ltlfilt.cc
|
||||||
$(convman) ../ltlfilt$(EXEEXT) $(srcdir)/ltlfilt.x $@
|
$(convman) ../ltlfilt$(EXEEXT) $(srcdir)/ltlfilt.x $@
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
[NAME] ltlcheck \- translate LTL/PSL formulas into Büchi automata
|
[NAME]
|
||||||
|
ltlcross \- cross-compare LTL/PSL translators to Büchi automata
|
||||||
[DESCRIPTION]
|
[DESCRIPTION]
|
||||||
.\" Add any additional description here
|
.\" Add any additional description here
|
||||||
[EXAMPLES]
|
[EXAMPLES]
|
||||||
|
|
@ -10,7 +11,7 @@ written to \f(CWresults.json\fR.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
% randltl \-n100 \-\-tree\-size=20..30 a b c | \e
|
% randltl \-n100 \-\-tree\-size=20..30 a b c | \e
|
||||||
ltlcheck \-T120 'ltl2tgba \-s %f >%N' 'spin \-f %s >%N' \-\-json=results.json
|
ltlcross \-T120 'ltl2tgba \-s %f >%N' 'spin \-f %s >%N' \-\-json=results.json
|
||||||
.fi
|
.fi
|
||||||
.LP
|
.LP
|
||||||
|
|
||||||
|
|
@ -22,16 +23,16 @@ in LBT's format, and \f(CW%T\fR to read the output in LBTT's format
|
||||||
(which is a superset of the format output by LBT).
|
(which is a superset of the format output by LBT).
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
% ltlcheck \-F input.ltl \-\-csv=results.csv \e
|
% ltlcross \-F input.ltl \-\-csv=results.csv \e
|
||||||
'lbt <%L >%T' \e
|
'lbt <%L >%T' \e
|
||||||
'ltl3ba \-f %s >%N' \e
|
'ltl3ba \-f %s >%N' \e
|
||||||
'ltl2tgba \-\-lbtt %f >%T'
|
'ltl2tgba \-\-lbtt %f >%T'
|
||||||
.fi
|
.fi
|
||||||
.LP
|
.LP
|
||||||
|
|
||||||
If you use ltlcheck in an automated testsuite just to check for
|
If you use ltlcross in an automated testsuite just to check for
|
||||||
potential problems, avoid the \fB\-\-csv\fR and \fB\-\-json\fR
|
potential problems, avoid the \fB\-\-csv\fR and \fB\-\-json\fR
|
||||||
options: ltlcheck is faster when it does not have to compute these
|
options: ltlcross is faster when it does not have to compute these
|
||||||
statistics.
|
statistics.
|
||||||
|
|
||||||
[SEE ALSO]
|
[SEE ALSO]
|
||||||
|
|
@ -41,13 +42,13 @@ statistics.
|
||||||
.BR ltl2tgba (1)
|
.BR ltl2tgba (1)
|
||||||
|
|
||||||
[BIBLIOGRAPHY]
|
[BIBLIOGRAPHY]
|
||||||
ltlcheck is a Spot-based reimplementation of a tool called LBTT. LBTT
|
ltlcross is a Spot-based reimplementation of a tool called LBTT. LBTT
|
||||||
was developped by Heikki Tauriainen at the Helsinki University of
|
was developped by Heikki Tauriainen at the Helsinki University of
|
||||||
Technology. The main motivation for the reimplementation was to
|
Technology. The main motivation for the reimplementation was to
|
||||||
support PSL, and output more statistics about the translations.
|
support PSL, and output more statistics about the translations.
|
||||||
|
|
||||||
The sanity checks performed on the result of each translator (by
|
The sanity checks performed on the result of each translator (by
|
||||||
either LBTT or ltlcheck) are described in the following paper. Our
|
either LBTT or ltlcross) are described in the following paper. Our
|
||||||
implementation will detect and reports problems (like inconsistencies
|
implementation will detect and reports problems (like inconsistencies
|
||||||
between two translations) but unlike LBTT it does not offer an
|
between two translations) but unlike LBTT it does not offer an
|
||||||
interactive mode to investigate such problems.
|
interactive mode to investigate such problems.
|
||||||
|
|
@ -107,9 +107,9 @@ TESTS = \
|
||||||
emptchkr.test \
|
emptchkr.test \
|
||||||
ltlcounter.test \
|
ltlcounter.test \
|
||||||
spotlbtt.test \
|
spotlbtt.test \
|
||||||
ltlcheck.test \
|
ltlcross.test \
|
||||||
spotlbtt2.test \
|
spotlbtt2.test \
|
||||||
ltlcheck2.test \
|
ltlcross2.test \
|
||||||
complementation.test \
|
complementation.test \
|
||||||
randpsl.test \
|
randpsl.test \
|
||||||
cycles.test
|
cycles.test
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
ltl2tgba=../ltl2tgba
|
ltl2tgba=../ltl2tgba
|
||||||
|
|
||||||
../../bin/randltl -n 100 p1 p2 p3 p4 p5 p6 --tree-size 5..15 |
|
../../bin/randltl -n 100 p1 p2 p3 p4 p5 p6 --tree-size 5..15 |
|
||||||
../../bin/ltlcheck \
|
../../bin/ltlcross \
|
||||||
"$ltl2tgba -t -l %f > %T" \
|
"$ltl2tgba -t -l %f > %T" \
|
||||||
"$ltl2tgba -t -l -R3b -r4 %f > %T" \
|
"$ltl2tgba -t -l -R3b -r4 %f > %T" \
|
||||||
"$ltl2tgba -t -f %f > %T" \
|
"$ltl2tgba -t -f %f > %T" \
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
ltl2tgba=../../bin/ltl2tgba
|
ltl2tgba=../../bin/ltl2tgba
|
||||||
|
|
||||||
../../bin/randltl -P -n 100 p1 p2 p3 p4 p5 p6 --tree-size 5..15 |
|
../../bin/randltl -P -n 100 p1 p2 p3 p4 p5 p6 --tree-size 5..15 |
|
||||||
../../bin/ltlcheck \
|
../../bin/ltlcross \
|
||||||
"$ltl2tgba --lbtt --any --small %f > %T" \
|
"$ltl2tgba --lbtt --any --small %f > %T" \
|
||||||
"$ltl2tgba --lbtt --any --medium %f > %T" \
|
"$ltl2tgba --lbtt --any --medium %f > %T" \
|
||||||
"$ltl2tgba --lbtt --any --high %f > %T" \
|
"$ltl2tgba --lbtt --any --high %f > %T" \
|
||||||
Loading…
Add table
Add a link
Reference in a new issue