aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-09-24 11:10:07 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-09-24 11:10:59 +0300
commit762ecb665373d6ac6ed9e8f2b50aaa2e5cd56468 (patch)
treecd5b6562636bbe0461f5a7035554532f22fa3b87
parent653cc04be4806a1eb4e7d1b72a4696fc20a22e47 (diff)
Fortify tests against NDEBUG
-rw-r--r--bbot/bootstrap-manifest.test.cxx3
-rw-r--r--bbot/machine-manifest.test.cxx3
2 files changed, 6 insertions, 0 deletions
diff --git a/bbot/bootstrap-manifest.test.cxx b/bbot/bootstrap-manifest.test.cxx
index 1310631..9d6e18e 100644
--- a/bbot/bootstrap-manifest.test.cxx
+++ b/bbot/bootstrap-manifest.test.cxx
@@ -12,6 +12,9 @@
#include <bbot/bootstrap-manifest.hxx>
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
using namespace butl;
using namespace bbot;
diff --git a/bbot/machine-manifest.test.cxx b/bbot/machine-manifest.test.cxx
index 099e0f7..c59ede5 100644
--- a/bbot/machine-manifest.test.cxx
+++ b/bbot/machine-manifest.test.cxx
@@ -12,6 +12,9 @@
#include <bbot/machine-manifest.hxx>
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
using namespace butl;
using namespace bbot;