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 /tests/test/script | |
parent | 32b728b7e9ef2505220e8a4d7dffb4bfda94e16e (diff) |
Fortify tests against NDEBUG
Diffstat (limited to 'tests/test/script')
-rw-r--r-- | tests/test/script/runner/driver.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test/script/runner/driver.cxx b/tests/test/script/runner/driver.cxx index f081714..d0e7601 100644 --- a/tests/test/script/runner/driver.cxx +++ b/tests/test/script/runner/driver.cxx @@ -11,7 +11,6 @@ #include <limits> // numeric_limits #include <string> #include <cstdlib> // abort() -#include <cassert> #include <ostream> // endl, *bit #include <istream> // istream::traits_type::eof() #include <iostream> @@ -22,6 +21,9 @@ #include <libbutl/fdstream.mxx> #include <libbutl/filesystem.mxx> +#undef NDEBUG +#include <cassert> + using namespace std; using namespace butl; |