Disable dumping regression for non-dumping builds (#3046)
authorAndres Noetzli <andres.noetzli@gmail.com>
Wed, 12 Jun 2019 00:54:14 +0000 (17:54 -0700)
committerGitHub <noreply@github.com>
Wed, 12 Jun 2019 00:54:14 +0000 (17:54 -0700)
commit9925a54ce86e9b0101563c0ace1b973144490528
treedb5c60df4c48e1ae268b6319d1e582e1864111d0
parent707734fb384203d6b1c87fcec4cc14ce6fc9ed97
Disable dumping regression for non-dumping builds (#3046)

`let_shadowing.smt2` uses dumping to test our printing infrastructure.
Since some builds do not support dumping, this commit disables that
regression for non-dumping builds. Additionally, it enables an error
message when trying to dump with a muzzled build and corrects the output
of `--show-config` to indicate that muzzled builds cannot dump.
Previously, the dumping output of a muzzled build was just silently
empty.

Most of the changes in `dump.cpp` are due to reformatting.
src/base/configuration.cpp
src/smt/dump.cpp
test/regress/regress0/printer/let_shadowing.smt2