diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-09-24 11:36:36 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-09-24 11:37:05 +0300 |
commit | a9b630f95ba352430f1f25d25b538672fddce93c (patch) | |
tree | a14719f66e0a4dd3c29e1d42e932f4e45ef7c8ab /tests | |
parent | def0adc835b35f503eda48049e9e753786c21655 (diff) |
Fortify tests against NDEBUG
Diffstat (limited to 'tests')
-rw-r--r-- | tests/load/driver.cxx | 3 | ||||
-rw-r--r-- | tests/web/xhtml/driver.cxx | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx index 887818c..7ebbc93 100644 --- a/tests/load/driver.cxx +++ b/tests/load/driver.cxx @@ -19,6 +19,9 @@ #include <libbrep/package.hxx> #include <libbrep/package-odb.hxx> +#undef NDEBUG +#include <cassert> + using std::cerr; using std::endl; diff --git a/tests/web/xhtml/driver.cxx b/tests/web/xhtml/driver.cxx index a0135de..3393eb3 100644 --- a/tests/web/xhtml/driver.cxx +++ b/tests/web/xhtml/driver.cxx @@ -8,6 +8,9 @@ #include <web/xhtml/serialization.hxx> +#undef NDEBUG +#include <cassert> + using namespace std; using namespace xml; |