Skip to content

Commit 6cd89d5

Browse files
committed
update examples to support Bitwuzla.
This is part of #377.
1 parent f1f5a38 commit 6cd89d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

runExamples.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ esac
7777

7878
# build the classpath including all solvers
7979
CLASSPATH="$CLASSPATH$SEP$PATH_TO_JAVASMT/bin$SEP$PATH_TO_JAVASMT/lib/java/core/*"
80-
SOLVERS="boolector cvc4 cvc5 mathsat opensmt optimathsat princess smtinterpol yices2 z3"
80+
SOLVERS="bitwuzla boolector cvc4 cvc5 mathsat opensmt optimathsat princess smtinterpol yices2 z3"
8181
for solver in $SOLVERS ; do
8282
CLASSPATH="$CLASSPATH$SEP$PATH_TO_JAVASMT/lib/java/runtime-$solver/*"
8383
done

src/org/sosy_lab/java_smt/example/SolverOverviewTable.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ private List<String> getFeatures(SolverContext context)
132132
context.newProverEnvironment(GENERATE_UNSAT_CORE_OVER_ASSUMPTIONS)) {
133133
prover.unsatCoreOverAssumptions(ImmutableList.of());
134134
features.add("UnsatCore /w Assumption");
135-
} catch (UnsupportedOperationException e) {
135+
} catch (UnsupportedOperationException | IllegalStateException e) {
136136
// ignore, feature is not supported.
137137
}
138138

0 commit comments

Comments
 (0)