Skip to content

Commit 367c74d

Browse files
author
Joel Allred
committed
Document running 3rd party smt2 solver (with skips)
1 parent bf4f2b9 commit 367c74d

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

regression/smt2_strings/README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,26 @@ backend.
77
It can also be used to test the level of string support of any SMT2 solver, by
88
using a command such as:
99
```
10-
../test.pl -p -F -c <path_to_solver_binary>
10+
../test.pl -p -CKFT -c <path_to_solver_binary>
1111
```
1212

13-
(note the `-F` option to consider all tests tagged as "FUTURE").
13+
(note the `-CKFT` option to consider all testing levels ("CORE", "KNOWNBUG",
14+
"FUTURE", "THOROUGH"), as these are relevant to CBMC only.
1415

16+
More specifically, tests are tagged according to the expected support by the
17+
3rd party solver. The commands below will only run the tests where support is
18+
expected:
19+
20+
CVC4:
21+
```
22+
../test.pl -p -CKFT -X cvc4_bug -c <path_to_cvc4_binary>
23+
```
24+
Note: Most of the string operations are only supported when cvc4 is passed the
25+
`--strings-exp` option. For running the tests, suggest creating a script that
26+
calls cvc4 with `--strings-exp`, and pass the path to that script to the
27+
command above.
28+
29+
Z3:
30+
```
31+
../test.pl -p -CKFT -X z3_bug -c <path_to_z3_binary>
32+
```

0 commit comments

Comments
 (0)