Closed asr closed 8 years ago
I think that it is happening because of the line 134 in Options.hs and because the defaults are built first than option values from the command line. Then, it is appending.
atpOpt name opts = Right opts { optATP = nub $ optATP opts ++ [name] }
A default option should be rewriting by an explicit command line option.
Thanks for fixing the issue. I'll add a test case later.
@jonaprieto I assigned both this issue.
TODO: Test case.
After the fix I'm getting
$ make errors
...
:test/fail/errors/errors.test:37: [Failed]
Expected stdout: ""
Got stdout: "Proving the conjecture in /tmp/test/fail/errors/NoTheorem/17-foo.fof\nE 1.9 Sourenee *did not* prove the conjecture\n"
Expected stderr: "apia: at least you need to specify one ATP\n"
Got stderr: "apia: the ATP(s) did not prove the conjecture in /tmp/test/fail/errors/NoTheorem/17-foo.fof\n"
I'll fix the test-suite.
Given the following files
I'm getting the output
@jonaprieto why Apia is calling E if I only used the
--atp=vampire
option?