summaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2023-12-21 01:20:29 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2023-12-30 01:37:14 +0100
commit1abe42857baf0348ba60e83a4c42361e00c3be71 (patch)
tree3f62cdf12951053a4b98366a550c35f81f1e9544 /test/unit
parentb37e243a1e96bb99b42eff9295b448f0241a89b8 (diff)
Fix include paths for tests
They are now relative to the root directory of the project, instead of relative to the test file location.
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/containers.cc4
-rw-r--r--test/unit/cookies.c4
-rw-r--r--test/unit/identity.cc2
-rw-r--r--test/unit/notsosimplevector.cc2
-rw-r--r--test/unit/trie.cc2
5 files changed, 7 insertions, 7 deletions
diff --git a/test/unit/containers.cc b/test/unit/containers.cc
index af317d7e..52a20bf1 100644
--- a/test/unit/containers.cc
+++ b/test/unit/containers.cc
@@ -1,5 +1,5 @@
-#include "../lout/object.hh"
-#include "../lout/container.hh"
+#include "lout/object.hh"
+#include "lout/container.hh"
using namespace lout::object;
using namespace lout::container::typed;
diff --git a/test/unit/cookies.c b/test/unit/cookies.c
index eaa0f59d..923f5227 100644
--- a/test/unit/cookies.c
+++ b/test/unit/cookies.c
@@ -48,8 +48,8 @@
#define MSG_ERR(...) MSG_INNARDS("** ERROR **: ", __VA_ARGS__)
-#include "../dlib/dlib.h"
-#include "../dpip/dpip.h"
+#include "dlib/dlib.h"
+#include "dpip/dpip.h"
static uint_t failed = 0;
static uint_t passed = 0;
diff --git a/test/unit/identity.cc b/test/unit/identity.cc
index a1a136eb..b1941361 100644
--- a/test/unit/identity.cc
+++ b/test/unit/identity.cc
@@ -10,7 +10,7 @@
* assumed that B is a subclass of A.)
*/
-#include "../lout/identity.hh"
+#include "lout/identity.hh"
using namespace lout::identity;
diff --git a/test/unit/notsosimplevector.cc b/test/unit/notsosimplevector.cc
index d41288fb..aeb5c17b 100644
--- a/test/unit/notsosimplevector.cc
+++ b/test/unit/notsosimplevector.cc
@@ -1,4 +1,4 @@
-#include "../lout/misc.hh"
+#include "lout/misc.hh"
static void print (lout::misc::NotSoSimpleVector<int> *v)
{
diff --git a/test/unit/trie.cc b/test/unit/trie.cc
index 41b56c70..dfcf80fd 100644
--- a/test/unit/trie.cc
+++ b/test/unit/trie.cc
@@ -1,4 +1,4 @@
-#include "../dw/hyphenator.hh"
+#include "dw/hyphenator.hh"
int main (int argc, char *argv[])
{