diff --git a/config/caisar-detection-data.conf b/config/caisar-detection-data.conf index 688a4de8d0f5a2828ffbf46e6ade2ce05f74269b..95f48470eaf94986c678c7c24ce5418095f10f9d 100644 --- a/config/caisar-detection-data.conf +++ b/config/caisar-detection-data.conf @@ -10,3 +10,13 @@ command_steps = "%e --steps-bound %S %f" driver = "alt_ergo" editor = "altgr-ergo" use_at_auto_level = 1 + +[ATP marabou] +name = "Marabou" +exec = "Marabou" +version_switch = "--version" +version_regexp = "\\([0-9.+]+\\)" +version_ok = "1.0.+" +command = "%e --timeout %t %f" +driver = "drivers/marabou" +use_at_auto_level = 1 diff --git a/config/drivers/marabou.drv b/config/drivers/marabou.drv new file mode 100644 index 0000000000000000000000000000000000000000..8a2487dd73c7bf4f1be29fb03cb1a78c565435c1 --- /dev/null +++ b/config/drivers/marabou.drv @@ -0,0 +1 @@ +(* Why3 drivers for Marabou *) diff --git a/tests/autodetect.t b/tests/autodetect.t index c391f46ed4bf37a864f1dacfed2017ebeaa596b3..b99f1264d289b63aa77b19f53ee5a1fe7a2f93f0 100644 --- a/tests/autodetect.t +++ b/tests/autodetect.t @@ -1,3 +1,4 @@ -Test verify +Test autodetect $ caisar config -d [caisar] Alt-Ergo 2.4.0 + Marabou 1.0.+ diff --git a/tests/simple.t b/tests/simple.t index 567c187e1bbbcc95c2dc2908bed4b6c74959e25a..d4a317de36c326d91a25397675ea56229bab212a 100644 --- a/tests/simple.t +++ b/tests/simple.t @@ -13,13 +13,15 @@ Test verify > EOF <autodetect>0 prover(s) added <autodetect>Generating strategies: - <autodetect>Run: (alt-ergo --version) > /tmp/build71161f.dune/out615f55 2>&1 - <autodetect>Run: (alt-ergo-2.4.0 --version) > /tmp/build71161f.dune/outd1f15f 2>&1 + <autodetect>Run: (Marabou --version) > /tmp/buildb7d8c3.dune/oute22a8d 2>&1 + <autodetect>Run: (alt-ergo --version) > /tmp/buildb7d8c3.dune/outf61830 2>&1 + <autodetect>Run: (alt-ergo-2.4.0 --version) > /tmp/buildb7d8c3.dune/out36e3db 2>&1 <autodetect>command 'alt-ergo-2.4.0 --version' failed. Output: sh: 1: alt-ergo-2.4.0: not found <autodetect>Found prover Alt-Ergo version 2.4.0, OK. - <autodetect>1 prover(s) added + <autodetect>Found prover Marabou version 1.0.+, OK. + <autodetect>2 prover(s) added (* this is the prelude for Alt-Ergo, version >= 2.4.0 *) (* this is a prelude for Alt-Ergo integer arithmetic *) (* this is a prelude for Alt-Ergo real arithmetic *)