From 2f0f77b511a3dae214d084105a4277ea0009300b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 19 Nov 2021 20:55:18 +0300 Subject: Fortify tests against NDEBUG --- xsd-tests/cxx/tree/binary/cdr/driver.cxx | 4 +++- xsd-tests/cxx/tree/binary/polymorphic/driver.cxx | 4 +++- xsd-tests/cxx/tree/binary/xdr-ordered/driver.cxx | 4 +++- xsd-tests/cxx/tree/binary/xdr/driver.cxx | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) (limited to 'xsd-tests/cxx/tree/binary') diff --git a/xsd-tests/cxx/tree/binary/cdr/driver.cxx b/xsd-tests/cxx/tree/binary/cdr/driver.cxx index fe74bb5..4656b03 100644 --- a/xsd-tests/cxx/tree/binary/cdr/driver.cxx +++ b/xsd-tests/cxx/tree/binary/cdr/driver.cxx @@ -5,11 +5,13 @@ // #include // std::auto_ptr/unique_ptr -#include #include #include "test.hxx" +#undef NDEBUG +#include + using namespace std; using namespace test; diff --git a/xsd-tests/cxx/tree/binary/polymorphic/driver.cxx b/xsd-tests/cxx/tree/binary/polymorphic/driver.cxx index 15ebf17..ebc0dba 100644 --- a/xsd-tests/cxx/tree/binary/polymorphic/driver.cxx +++ b/xsd-tests/cxx/tree/binary/polymorphic/driver.cxx @@ -5,7 +5,6 @@ // #include // std::auto_ptr/unique_ptr -#include #include #include @@ -13,6 +12,9 @@ #include "test.hxx" +#undef NDEBUG +#include + using namespace std; using namespace test; diff --git a/xsd-tests/cxx/tree/binary/xdr-ordered/driver.cxx b/xsd-tests/cxx/tree/binary/xdr-ordered/driver.cxx index d61a645..46a2e1f 100644 --- a/xsd-tests/cxx/tree/binary/xdr-ordered/driver.cxx +++ b/xsd-tests/cxx/tree/binary/xdr-ordered/driver.cxx @@ -8,11 +8,13 @@ #include // std::auto_ptr/unique_ptr #include // std::memcpy -#include #include #include "test.hxx" +#undef NDEBUG +#include + using namespace std; using namespace test; diff --git a/xsd-tests/cxx/tree/binary/xdr/driver.cxx b/xsd-tests/cxx/tree/binary/xdr/driver.cxx index 04606ea..a497d73 100644 --- a/xsd-tests/cxx/tree/binary/xdr/driver.cxx +++ b/xsd-tests/cxx/tree/binary/xdr/driver.cxx @@ -6,11 +6,13 @@ #include // std::auto_ptr/unique_ptr #include // std::memcpy -#include #include #include "test.hxx" +#undef NDEBUG +#include + using namespace std; using namespace test; -- cgit v1.1