File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,15 @@ class ProcessInterpreterTests extends AnyFunSuite with TestHelpers {
1818 // TODO: properly get all interpreters
1919 def interpreters : Seq [Interpreter ] = Seq (getZ3Interpreter)
2020
21+ test(" Interpreter can be created with complex executable names" ) {
22+ // sometimes we are given arguments in the executable name itself;
23+ // check that these are split and processed correctly
24+ val z3Interpreter = new Z3Interpreter (" z3 -in" , Array (" -smt2" )) {}
25+ z3Interpreter.eval(trees.Commands .SetLogic (trees.Commands .AUFLIA ()))
26+ z3Interpreter.eval(trees.Commands .CheckSat ())
27+ z3Interpreter.interrupt()
28+ }
29+
2130 test(" Interrupt after free does not throw an exception" ) {
2231 // TODO: check against all interpreters
2332 val z3Interpreter = getZ3Interpreter
You can’t perform that action at this time.
0 commit comments