summaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
authorTim King <taking@google.com>2015-12-30 11:45:37 -0800
committerTim King <taking@google.com>2015-12-30 11:45:37 -0800
commitfa7f30a4ba08afe066604daee87006b4fb5f21f7 (patch)
tree6eecac7cce64fa00f4ac5c18f023f1bc234435a3 /test/system
parent1ce397129214a427a10ff3e33069e315fe13eec1 (diff)
Shuffling around public vs. private headers
- Adding a script contrib/test_install_headers.h that tests whether one can include all cvc4_public headers. CVC4 can pass this test after this commit. - Making lib/{clock_gettime.h,ffs.h,strtok_r.h} cvc4_private. - Making prop/sat_solver_factory.h cvc4_private. - Moving the expr iostream manipulators into their own files: expr_iomanip.{h,cpp}. - Setting the generated *_options.h files back to being cvc4_private. -- Removing the usage of options/expr_options.h from expr.h. -- Removing the include of base_options.h from options.h. - Cleaning up CPP macros in cvc4_public headers. -- Changing the ROLL macro in floatingpoint.h into an inline function. -- Removing the now unused flag -D__BUILDING_STATISTICS_FOR_EXPORT.
Diffstat (limited to 'test/system')
-rw-r--r--test/system/ouroborous.cpp5
-rw-r--r--test/system/smt2_compliance.cpp1
2 files changed, 4 insertions, 2 deletions
diff --git a/test/system/ouroborous.cpp b/test/system/ouroborous.cpp
index dd6cbccb8..d27ebd9b3 100644
--- a/test/system/ouroborous.cpp
+++ b/test/system/ouroborous.cpp
@@ -29,6 +29,7 @@
#include <string>
#include "expr/expr.h"
+#include "expr/expr_iomanip.h"
#include "options/set_language.h"
#include "parser/parser.h"
#include "parser/parser_builder.h"
@@ -70,7 +71,7 @@ string translate(string in, InputLanguage inlang, OutputLanguage outlang) {
psr->setInput(Input::newStringInput(inlang, in, "internal-buffer"));
Expr e = psr->nextExpression();
stringstream ss;
- ss << language::SetLanguage(outlang) << Expr::setdepth(-1) << e;
+ ss << language::SetLanguage(outlang) << expr::ExprSetDepth(-1) << e;
assert(psr->nextExpression().isNull());// next expr should be null
assert(psr->done());// parser should be done
string s = ss.str();
@@ -122,7 +123,7 @@ int runTest() {
assert(psr->done());// parser should be done
- cout << Expr::setdepth(-1);
+ cout << expr::ExprSetDepth(-1);
runTestString("(= (f (f y)) x)");
runTestString("~BVPLUS(3, 0bin00, 0bin11)[2:1] = 0bin10", input::LANG_CVC4);
diff --git a/test/system/smt2_compliance.cpp b/test/system/smt2_compliance.cpp
index 99b4c625c..b202bcccc 100644
--- a/test/system/smt2_compliance.cpp
+++ b/test/system/smt2_compliance.cpp
@@ -19,6 +19,7 @@
#include <sstream>
#include "expr/expr_manager.h"
+#include "options/base_options.h"
#include "options/set_language.h"
#include "options/smt_options.h"
#include "parser/parser.h"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback