summaryrefslogtreecommitdiff
path: root/test/unit/prop/cnf_stream_white.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/prop/cnf_stream_white.h')
-rw-r--r--test/unit/prop/cnf_stream_white.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/prop/cnf_stream_white.h b/test/unit/prop/cnf_stream_white.h
index 7e04bb7c5..35eb240a2 100644
--- a/test/unit/prop/cnf_stream_white.h
+++ b/test/unit/prop/cnf_stream_white.h
@@ -136,6 +136,10 @@ class CnfStreamWhite : public CxxTest::TestSuite {
d_nodeManager = NodeManager::fromExprManager(d_exprManager);
d_scope = new SmtScope(d_smt);
+ // Notice that this unit test uses the theory engine of a created SMT
+ // engine d_smt. We must ensure that d_smt is properly initialized via
+ // the following call, which constructs its underlying theory engine.
+ d_smt->finalOptionsAreSet();
d_theoryEngine = d_smt->d_theoryEngine;
d_satSolver = new FakeSatSolver();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback