// but don't show up in our substitution map above.
n = m->getValue(n);
Notice() << "SmtEngine::checkModel(): -- model-substitutes to " << n << endl;
- AlwaysAssert(n.isConst() || n.getKind() == kind::LAMBDA);
+ AlwaysAssert(!hardFailure || n.isConst() || n.getKind() == kind::LAMBDA);
// The result should be == true.
if(n != NodeManager::currentNM()->mkConst(true)) {
echo "$expected_output" >"$expoutfile"
fi
check_models=false
-if grep '^sat$' "$expoutfile" &>/dev/null || grep '^invalid$' "$expoutfile" &>/dev/null; then
+if grep '^sat$' "$expoutfile" &>/dev/null || grep '^invalid$' "$expoutfile" &>/dev/null || grep '^unknown$' "$expoptfile" &>/dev/null; then
if ! expr "$CVC4_REGRESSION_ARGS $command_line" : '.*--check-models' &>/dev/null &&
! expr "$CVC4_REGRESSION_ARGS $command_line" : '.*--no-check-models' &>/dev/null; then
# later on, we'll run another test with --check-models on