Skip to content

Commit 8bd80fb

Browse files
CVC5: Removed CVC5 from the blacklist in concurrent tests.
1 parent 1c29c10 commit 8bd80fb

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

Diff for: src/org/sosy_lab/java_smt/test/SolverConcurrencyTest.java

-10
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,6 @@ public void testFormulaTranslationWithConcurrentContexts()
281281
public void testIntConcurrencyWithoutConcurrentContext() throws InvalidConfigurationException {
282282
requireIntegers();
283283

284-
assume()
285-
.withMessage("Solver does not support concurrency without concurrent context.")
286-
.that(solver)
287-
.isNotEqualTo(Solvers.CVC5);
288-
289284
ConcurrentLinkedQueue<SolverContext> contextList = new ConcurrentLinkedQueue<>();
290285
// Initialize contexts before using them in the threads
291286
for (int i = 0; i < NUMBER_OF_THREADS; i++) {
@@ -306,11 +301,6 @@ public void testIntConcurrencyWithoutConcurrentContext() throws InvalidConfigura
306301
public void testBvConcurrencyWithoutConcurrentContext() throws InvalidConfigurationException {
307302
requireBitvectors();
308303

309-
assume()
310-
.withMessage("Solver does not support concurrency without concurrent context.")
311-
.that(solver)
312-
.isNotEqualTo(Solvers.CVC5);
313-
314304
ConcurrentLinkedQueue<SolverContext> contextList = new ConcurrentLinkedQueue<>();
315305
// Initialize contexts before using them in the threads
316306
for (int i = 0; i < NUMBER_OF_THREADS; i++) {

Diff for: src/org/sosy_lab/java_smt/test/SolverThreadLocalityTest.java

+1-6
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class SolverThreadLocalityTest extends SolverBasedTest0.ParameterizedSolv
4242
private static final int DEFAULT_PROBLEM_SIZE = 8;
4343

4444
private static final Collection<Solvers> SOLVERS_NOT_SUPPORTING_FORMULA_THREAD_SHARING =
45-
ImmutableList.of(Solvers.CVC5);
45+
ImmutableList.of(); // TODO: Remove this
4646

4747
@Before
4848
public void makeThreads() {
@@ -78,7 +78,6 @@ public void allLocalTest() throws InterruptedException, SolverException {
7878
public void nonLocalContextTest()
7979
throws ExecutionException, InterruptedException, SolverException {
8080
requireIntegers();
81-
assume().that(solverToUse()).isNotEqualTo(Solvers.CVC5);
8281

8382
// generate a new context in another thread, i.e., non-locally
8483
Future<SolverContext> result = executor.submit(() -> factory.generateContext());
@@ -113,7 +112,6 @@ public void nonLocalContextTest()
113112
public void nonLocalFormulaTest()
114113
throws InterruptedException, SolverException, ExecutionException {
115114
requireIntegers();
116-
assume().that(solverToUse()).isNotEqualTo(Solvers.CVC5);
117115

118116
// generate a new formula in another thread, i.e., non-locally
119117
Future<BooleanFormula> result =
@@ -142,8 +140,6 @@ public void nonLocalFormulaTest()
142140
@Test
143141
public void nonLocalProverTest() throws InterruptedException, ExecutionException {
144142
requireIntegers();
145-
assume().that(solverToUse()).isNotEqualTo(Solvers.CVC5);
146-
147143
BooleanFormula formula = hardProblem.generate(DEFAULT_PROBLEM_SIZE);
148144

149145
// generate a new prover in another thread, i.e., non-locally
@@ -263,7 +259,6 @@ public <T> void localInterpolationTest() throws InterruptedException, SolverExce
263259
public <T> void nonLocalInterpolationTest() throws InterruptedException, ExecutionException {
264260
requireIntegers();
265261
requireInterpolation();
266-
assume().that(solverToUse()).isNotEqualTo(Solvers.CVC5);
267262

268263
BooleanFormula f1 = imgr.lessThan(imgr.makeVariable("A"), imgr.makeVariable("B"));
269264
BooleanFormula f2 = imgr.lessThan(imgr.makeVariable("B"), imgr.makeVariable("A"));

0 commit comments

Comments
 (0)