aboutsummaryrefslogtreecommitdiff
path: root/tests/libbuild2
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-09-24 12:31:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-09-24 12:31:43 +0300
commitdec742c5fa8a8ab35b2bbe96f990a84959164f66 (patch)
tree7a89dd3bee22062fe0d7aa99366988cc7713bbb1 /tests/libbuild2
parent32b728b7e9ef2505220e8a4d7dffb4bfda94e16e (diff)
Fortify tests against NDEBUG
Diffstat (limited to 'tests/libbuild2')
-rw-r--r--tests/libbuild2/driver.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libbuild2/driver.cxx b/tests/libbuild2/driver.cxx
index 1c4554a..9a8db9e 100644
--- a/tests/libbuild2/driver.cxx
+++ b/tests/libbuild2/driver.cxx
@@ -16,6 +16,9 @@
#include <libbuild2/bash/init.hxx>
#include <libbuild2/version/init.hxx>
+#undef NDEBUG
+#include <cassert>
+
using namespace build2;
int