Skip to content

Commit

Permalink
update examples to support Bitwuzla.
Browse files Browse the repository at this point in the history
This is part of sosy-lab#377.
  • Loading branch information
kfriedberger committed May 27, 2024
1 parent f1f5a38 commit 6cd89d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runExamples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ esac

# build the classpath including all solvers
CLASSPATH="$CLASSPATH$SEP$PATH_TO_JAVASMT/bin$SEP$PATH_TO_JAVASMT/lib/java/core/*"
SOLVERS="boolector cvc4 cvc5 mathsat opensmt optimathsat princess smtinterpol yices2 z3"
SOLVERS="bitwuzla boolector cvc4 cvc5 mathsat opensmt optimathsat princess smtinterpol yices2 z3"
for solver in $SOLVERS ; do
CLASSPATH="$CLASSPATH$SEP$PATH_TO_JAVASMT/lib/java/runtime-$solver/*"
done
Expand Down
2 changes: 1 addition & 1 deletion src/org/sosy_lab/java_smt/example/SolverOverviewTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ private List<String> getFeatures(SolverContext context)
context.newProverEnvironment(GENERATE_UNSAT_CORE_OVER_ASSUMPTIONS)) {
prover.unsatCoreOverAssumptions(ImmutableList.of());
features.add("UnsatCore /w Assumption");
} catch (UnsupportedOperationException e) {
} catch (UnsupportedOperationException | IllegalStateException e) {
// ignore, feature is not supported.
}

Expand Down

0 comments on commit 6cd89d5

Please sign in to comment.