-
Notifications
You must be signed in to change notification settings - Fork 36
Running Silicon
-
Silicon has various and mostly experimental command-line options. Run Silicon with
--helpfor details. -
Depending on the used shell (e.g. Windows CMD, bash, ...), passing arguments to
--z3Argsand--z3ConfigArgscan be tricky because of the mandatory quotation marks (") that must surround the argument.-
Windows CMD: try
--z3Args "\"-smt2 -t:500\"", or--z3ConfigArgs "\"smt.macro_finder=true smt.arith.nl.gb=false\"" -
Sbt console: try
--z3Args "\\\"-smt2 -t:500\\\"", or--z3ConfigArgs "\\\"smt.macro_finder=true smt.arith.nl.gb=false\\\""
-
-
Run only tests with specific tags, e.g.
testOnly -- -n functions -
Run only a specific test suite, e.g.
testOnly *SiliconTestsMoreCompleteExhale -
Pass Silicon-specific options:
- E.g.
testOnly -- -n arithmetic.vpr -Dsilicon:logLevel=debugto run certain tests with specific options - E.g.
testOnly -- -Dsilicon:logLevel=debugto run all tests with specific options
- E.g.
-
Include and exclude tests: E.g.
testOnly -- -n termination/ -l termination/methods/will include all tests anywhere under directorytermination, but exclude those anywhere undertermination/methods