aboutsummaryrefslogtreecommitdiff
path: root/tests/test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test')
-rw-r--r--tests/test/config-test/driver.cxx3
-rw-r--r--tests/test/script/runner/driver.cxx4
-rw-r--r--tests/test/simple/generated/driver.cxx3
3 files changed, 9 insertions, 1 deletions
diff --git a/tests/test/config-test/driver.cxx b/tests/test/config-test/driver.cxx
index 5902854..7ea10e7 100644
--- a/tests/test/config-test/driver.cxx
+++ b/tests/test/config-test/driver.cxx
@@ -3,6 +3,9 @@
#include <iostream>
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
int
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;
diff --git a/tests/test/simple/generated/driver.cxx b/tests/test/simple/generated/driver.cxx
index 18fd0ae..89dacca 100644
--- a/tests/test/simple/generated/driver.cxx
+++ b/tests/test/simple/generated/driver.cxx
@@ -12,6 +12,9 @@
#include <fstream>
#include <iostream>
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
// If the -s option is specified, then also sleep for 5 seconds.