diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-09-24 12:31:43 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-09-24 12:31:43 +0300 |
commit | dec742c5fa8a8ab35b2bbe96f990a84959164f66 (patch) | |
tree | 7a89dd3bee22062fe0d7aa99366988cc7713bbb1 /libbuild2/scheduler.test.cxx | |
parent | 32b728b7e9ef2505220e8a4d7dffb4bfda94e16e (diff) |
Fortify tests against NDEBUG
Diffstat (limited to 'libbuild2/scheduler.test.cxx')
-rw-r--r-- | libbuild2/scheduler.test.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/scheduler.test.cxx b/libbuild2/scheduler.test.cxx index 49d0086..b29c932 100644 --- a/libbuild2/scheduler.test.cxx +++ b/libbuild2/scheduler.test.cxx @@ -4,7 +4,6 @@ #include <chrono> #include <thread> -#include <cassert> #include <iostream> #include <libbuild2/types.hxx> @@ -12,6 +11,9 @@ #include <libbuild2/scheduler.hxx> +#undef NDEBUG +#include <cassert> + using namespace std; namespace build2 |