diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-11-19 20:55:18 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-11-19 20:55:18 +0300 |
commit | 2f0f77b511a3dae214d084105a4277ea0009300b (patch) | |
tree | 7c0a8c9850d585814db1bada6ca62364c2855a33 /xsd-tests/cxx/tree/dom-association | |
parent | e5d2958ee052d7facadbf8bebf8a0c85b50ca438 (diff) |
Fortify tests against NDEBUG
Diffstat (limited to 'xsd-tests/cxx/tree/dom-association')
-rw-r--r-- | xsd-tests/cxx/tree/dom-association/dom-parse.cxx | 3 | ||||
-rw-r--r-- | xsd-tests/cxx/tree/dom-association/driver.cxx | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/xsd-tests/cxx/tree/dom-association/dom-parse.cxx b/xsd-tests/cxx/tree/dom-association/dom-parse.cxx index 281eb2c..a14b8e9 100644 --- a/xsd-tests/cxx/tree/dom-association/dom-parse.cxx +++ b/xsd-tests/cxx/tree/dom-association/dom-parse.cxx @@ -15,6 +15,9 @@ #include <xsd/cxx/tree/exceptions.hxx> #include <xsd/cxx/tree/error-handler.hxx> +#undef NDEBUG +#include <cassert> + using namespace xercesc; namespace xml = xsd::cxx::xml; namespace tree = xsd::cxx::tree; diff --git a/xsd-tests/cxx/tree/dom-association/driver.cxx b/xsd-tests/cxx/tree/dom-association/driver.cxx index d85e105..2470212 100644 --- a/xsd-tests/cxx/tree/dom-association/driver.cxx +++ b/xsd-tests/cxx/tree/dom-association/driver.cxx @@ -13,6 +13,9 @@ #include "dom-parse.hxx" #include "test.hxx" +#undef NDEBUG +#include <cassert> + using namespace std; using namespace test; using namespace xercesc; |