aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-18 16:11:09 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-18 16:11:36 +0100
commit2262af9f82d8a07751acea042844906649053a9f (patch)
treec104323ccec9610f60e9d56535366d9ddbbfeb69 /tests
parentf4604f8d0bb66ad7a777877dd01b069a82e1b18d (diff)
Cleanup: internalize some fstree functions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makemodule.am2
-rw-r--r--tests/fstree_init.c1
-rw-r--r--tests/fstree_sort.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/tests/Makemodule.am b/tests/Makemodule.am
index 2fb7654..ec4e4c5 100644
--- a/tests/Makemodule.am
+++ b/tests/Makemodule.am
@@ -37,6 +37,7 @@ test_get_path_SOURCES = tests/get_path.c
test_get_path_LDADD = libfstree.a libcompat.a
test_fstree_sort_SOURCES = tests/fstree_sort.c
+test_fstree_sort_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/lib/fstree
test_fstree_sort_LDADD = libfstree.a libcompat.a
test_fstree_from_file_SOURCES = tests/fstree_from_file.c
@@ -44,6 +45,7 @@ test_fstree_from_file_CPPFLAGS = $(AM_CPPFLAGS) -DTESTPATH=$(top_srcdir)/tests/f
test_fstree_from_file_LDADD = libfstree.a libcompat.a
test_fstree_init_SOURCES = tests/fstree_init.c
+test_fstree_init_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/lib/fstree
test_fstree_init_LDADD = libfstree.a libcompat.a
test_tar_gnu_SOURCES = tests/tar_gnu.c
diff --git a/tests/fstree_init.c b/tests/fstree_init.c
index 5958d49..3a526d1 100644
--- a/tests/fstree_init.c
+++ b/tests/fstree_init.c
@@ -7,6 +7,7 @@
#include "config.h"
#include "fstree.h"
+#include "internal.h"
#include <stdlib.h>
#include <string.h>
diff --git a/tests/fstree_sort.c b/tests/fstree_sort.c
index 86ef4e5..5557678 100644
--- a/tests/fstree_sort.c
+++ b/tests/fstree_sort.c
@@ -7,6 +7,7 @@
#include "config.h"
#include "fstree.h"
+#include "internal.h"
#include <stdlib.h>
#include <string.h>