From 52305ec0f8bd3fbff63a538fbef12ab9fee4340f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 24 Sep 2021 12:43:13 +0300 Subject: Fortify tests against NDEBUG --- tests/buildtab/driver.cxx | 4 +++- tests/manifest/driver.cxx | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/buildtab/driver.cxx b/tests/buildtab/driver.cxx index 13d0d71..34550db 100644 --- a/tests/buildtab/driver.cxx +++ b/tests/buildtab/driver.cxx @@ -2,13 +2,15 @@ // license : MIT; see accompanying LICENSE file #include // ios::failbit, ios::badbit -#include #include #include // operator<<(ostream,exception) #include +#undef NDEBUG +#include + using namespace std; using namespace butl; using namespace bbot; diff --git a/tests/manifest/driver.cxx b/tests/manifest/driver.cxx index 821aa63..2a38352 100644 --- a/tests/manifest/driver.cxx +++ b/tests/manifest/driver.cxx @@ -3,7 +3,6 @@ #include // ios_base::failbit, ios_base::badbit #include -#include #include #include // operator<<(ostream,exception) @@ -12,6 +11,9 @@ #include +#undef NDEBUG +#include + using namespace std; using namespace butl; using namespace bbot; -- cgit v1.1