aboutsummaryrefslogtreecommitdiff
path: root/old-tests
diff options
context:
space:
mode:
Diffstat (limited to 'old-tests')
-rw-r--r--old-tests/depdb/driver.cxx3
-rw-r--r--old-tests/lexer/driver.cxx4
-rw-r--r--old-tests/parser/driver.cxx4
3 files changed, 9 insertions, 2 deletions
diff --git a/old-tests/depdb/driver.cxx b/old-tests/depdb/driver.cxx
index b802662..47f99af 100644
--- a/old-tests/depdb/driver.cxx
+++ b/old-tests/depdb/driver.cxx
@@ -10,6 +10,9 @@
#include <libbuild2/depdb.hxx>
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
using namespace build2;
diff --git a/old-tests/lexer/driver.cxx b/old-tests/lexer/driver.cxx
index 588f062..f5e47c3 100644
--- a/old-tests/lexer/driver.cxx
+++ b/old-tests/lexer/driver.cxx
@@ -3,13 +3,15 @@
#include <string>
#include <vector>
-#include <cassert>
#include <sstream>
#include <iostream>
#include <build/token>
#include <build/lexer>
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
using namespace build;
diff --git a/old-tests/parser/driver.cxx b/old-tests/parser/driver.cxx
index a5b6820..6fb5aee 100644
--- a/old-tests/parser/driver.cxx
+++ b/old-tests/parser/driver.cxx
@@ -1,7 +1,6 @@
// file : tests/build/parser/driver.cxx -*- C++ -*-
// license : MIT; see accompanying LICENSE file
-#include <cassert>
#include <sstream>
#include <iostream>
@@ -14,6 +13,9 @@
#include <build/lexer>
#include <build/parser>
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
using namespace build;