bv2int: support models in tests (#5068)
authoryoni206 <yoni206@users.noreply.github.com>
Wed, 16 Sep 2020 04:31:10 +0000 (21:31 -0700)
committerGitHub <noreply@github.com>
Wed, 16 Sep 2020 04:31:10 +0000 (23:31 -0500)
commite61c6ecf2e8c569d9f1b5f27ec1309371cc45cff
tree339ec96158b78b7e998a6c4edd16a4127a7fe8aa
parent85a3056bed70e226d9e17a1f5785d957628f9e26
bv2int: support models in tests (#5068)

Previous changes in this preprocessing pass have already enabled model generation when using it.
However, the satisfiable tests still had --no-check-models.

The changes in this PR:

All --no-check-models from current tests for the preprocessing pass are removed.
Refactoring of the relevant part of the code.
Solves CVC4/cvc4-projects#128.

Remark: disabling white-spaces when reviewing this PR is recommended.
17 files changed:
src/preprocessing/passes/bv_to_int.cpp
src/preprocessing/passes/bv_to_int.h
test/regress/regress0/bv/bv_to_int1.smt2
test/regress/regress0/bv/bv_to_int2.smt2
test/regress/regress0/bv/bv_to_int_bitwise.smt2
test/regress/regress0/bv/bv_to_int_bvmul1.smt2
test/regress/regress0/bv/bv_to_int_bvmul2.smt2
test/regress/regress0/bv/bv_to_int_bvuf_to_intuf.smt2
test/regress/regress0/bv/bv_to_int_bvuf_to_intuf_sorts.smt2
test/regress/regress0/bv/bv_to_int_elim_err.smt2
test/regress/regress0/bv/bv_to_int_zext.smt2
test/regress/regress2/bv_to_int_ashr.smt2
test/regress/regress2/bv_to_int_mask_array_1.smt2
test/regress/regress2/bv_to_int_mask_array_2.smt2
test/regress/regress2/bv_to_int_mask_array_3.smt2
test/regress/regress2/bv_to_int_shifts.smt2
test/regress/regress3/bv_to_int_and_or.smt2