make -j2 check CVC4_REGRESSION_ARGS='--no-early-exit' || error "BUILD/TEST FAILED";
}
makeCheckPortfolio() {
- make check BINARY=pcvc4 CVC4_REGRESSION_ARGS='--fallback-sequential --no-wait-to-join --no-early-exit' RUN_REGRESSION_ARGS= ||
+ make check BINARY=pcvc4 CVC4_REGRESSION_ARGS='--fallback-sequential --no-early-exit' RUN_REGRESSION_ARGS= ||
error "PORTFOLIO TEST FAILED";
}
makeExamples() {
../../configure competition --disable-shared --enable-static-binary --with-gmp --with-portfolio --with-glpk --with-abc --without-readline --enable-gpl; \
$(MAKE) V=1; \
strip src/main/pcvc4; \
- $(MAKE) check BINARY=pcvc4 CVC4_REGRESSION_ARGS='--fallback-sequential --no-wait-to-join' || true )
+ $(MAKE) check BINARY=pcvc4 CVC4_REGRESSION_ARGS=--fallback-sequential || true )
# package the parallel track zipfile
mkdir -p cvc4-smtcomp-parallel-$(YEAR)/bin
cp -p builds-smtcomp/parallel/src/main/pcvc4 cvc4-smtcomp-parallel-$(YEAR)/bin/pcvc4
*/
bool doCommand(CVC4::Command* cmd);
- /**
- * Allow one to set an option on the underlying SmtEngine.
- * This could be done with a Command object, but then it's
- * interpreted as a user command (and might result in "success"
- * or "error" output, for example. This function can throw
- * exceptions.
- */
- void setOption(const std::string& key, const CVC4::SExpr& value) {
- d_smtEngine->setOption(key, value);
- }
-
Result getResult() const { return d_result; }
void reset();
throw OptionException("--tear-down-incremental incompatible with --incremental");
}
- pExecutor->setOption("incremental", false);
+ cmd = new SetOptionCommand("incremental", false);
+ cmd->setMuted(true);
+ pExecutor->doCommand(cmd);
+ delete cmd;
}
#ifndef PORTFOLIO_BUILD
if(!opts.wasSetByUser(options::incrementalSolving)) {
- pExecutor->setOption("incremental", true);
+ cmd = new SetOptionCommand("incremental", true);
+ cmd->setMuted(true);
+ pExecutor->doCommand(cmd);
+ delete cmd;
}
#endif /* PORTFOLIO_BUILD */
InteractiveShell shell(*exprMgr, opts);
throw OptionException("--tear-down-incremental incompatible with --incremental");
}
- pExecutor->setOption("incremental", false);
+ cmd = new SetOptionCommand("incremental", false);
+ cmd->setMuted(true);
+ pExecutor->doCommand(cmd);
+ delete cmd;
}
ParserBuilder parserBuilder(exprMgr, filename, opts);
delete parser;
} else {
if(!opts.wasSetByUser(options::incrementalSolving)) {
- pExecutor->setOption("incremental", false);
+ cmd = new SetOptionCommand("incremental", false);
+ cmd->setMuted(true);
+ pExecutor->doCommand(cmd);
+ delete cmd;
}
ParserBuilder parserBuilder(exprMgr, filename, opts);