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 {
18
18
// TODO: properly get all interpreters
19
19
def interpreters : Seq [Interpreter ] = Seq (getZ3Interpreter)
20
20
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
+
21
30
test(" Interrupt after free does not throw an exception" ) {
22
31
// TODO: check against all interpreters
23
32
val z3Interpreter = getZ3Interpreter
You can’t perform that action at this time.
0 commit comments