SmtEngine now fails with a ModalException if --incremental is not enabled
authorMorgan Deters <mdeters@gmail.com>
Tue, 16 Nov 2010 19:18:19 +0000 (19:18 +0000)
committerMorgan Deters <mdeters@gmail.com>
Tue, 16 Nov 2010 19:18:19 +0000 (19:18 +0000)
commite66924cb0f425ca70969058532340e68c9c17a54
tree6dfdb2d02621c45a17b9ca3202cc3db7c30d7da5
parentd5d504da7c73538642b9be86c73f8407e08ab57a
SmtEngine now fails with a ModalException if --incremental is not enabled
but a push/pop or multiple query is attempted (previously it could give
incorrect answers)

Also, fix some multi-query and push-pop tests that had wrong answers, and
support a new "% COMMAND-LINE: " gesture in regression tests so that a
test can pass additional, specific command line flags it wants to run
with (here, --incremental).

Also fix mkbuilddir script for when it's called from contrib/switch-config.
config/mkbuilddir
src/smt/smt_engine.cpp
src/smt/smt_engine.h
test/regress/regress0/Makefile.am
test/regress/regress0/bug216.smt2.expect [new file with mode: 0644]
test/regress/regress0/push-pop/test.00.cvc
test/regress/regress0/push-pop/test.01.cvc
test/regress/regress0/queries0.cvc
test/regress/regress0/test12.cvc
test/regress/run_regression