lps2torx
lps2torx is intended to do model based testing using the JTorx environment. It can be invoked (on a Windows environment) by:
"lps2torx.exe" "your-mcrl2-model.lps"
You should note the following
Ensure that lps2torx.exe is in your system path.
Start up JTorX with the “jtorx” shell script or with “jtorx.bat”. Navigate to the “Config Items” tab (should be active by default). Set the “Model” field to the location of the helper file (see Listing 1), e.g. “D:/jtorx-helper.tx.bat”.
Set the “Implementation” field to “real program, comm. labels via tcp, JTorX is server”. Set the text field below to the address of your SUT, e.g. “127.0.0.1:5555”.
Set “Timeout” appropriately.
Set “Interpretation” to “action names below”.
Set “Trace kind” to “Straces”.
The picture below shows the setup screen of JTorx. .. image:: _pictures/jtorx-setup.png
- orphan:
Usage
lps2torx [OPTION]... INFILE
Description
Provide a TorX explorer interface to the LPS in INFILE.
The LPS can be explored using TorX as described in torx_explorer(5).
Command line options
-y
, --dummy
replace free variables in the LPS with dummy values
-QNUM
, --qlimit=NUM
limit enumeration of quantifiers to NUM iterations. (Default NUM=1000, NUM=0 for unlimited).
-rNAME
, --rewriter=NAME
use rewrite strategy NAME:
jitty
jitty rewriting
jittyc
compiled jitty rewriting
jittyp
jitty rewriting with prover
--timings[=FILE]
append timing measurements to FILE. Measurements are written to standard error if no FILE is provided
Standard options
-q
, --quiet
do not display warning messages
-v
, --verbose
display short intermediate messages
-d
, --debug
display detailed intermediate messages
--log-level=LEVEL
display intermediate messages up to and including level
-h
, --help
display help information
--version
display version information
--help-all
display help information, including hidden and experimental options