aboutsummaryrefslogtreecommitdiff
path: root/tests/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-12-15 11:59:39 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-12-15 11:59:39 +0100
commit2d92372ea6a64ce898a872f496e62524c19d4b21 (patch)
tree2708562283f1d95cdcbe64de1817409ce3026da5 /tests/Makemodule.am
parentefa204aedf3578d193b2832b42cf365c7aee48f9 (diff)
Add a simple test case for the directory scanning code
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/Makemodule.am')
-rw-r--r--tests/Makemodule.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/Makemodule.am b/tests/Makemodule.am
index 7b86af9..cf09f2a 100644
--- a/tests/Makemodule.am
+++ b/tests/Makemodule.am
@@ -51,6 +51,11 @@ test_fstree_from_file_SOURCES = tests/fstree_from_file.c tests/test.h
test_fstree_from_file_CPPFLAGS = $(AM_CPPFLAGS) -DTESTPATH=$(top_srcdir)/tests/fstree1.txt
test_fstree_from_file_LDADD = libfstree.a libfstream.a libcompat.a
+test_fstree_from_dir_SOURCES = tests/fstree_from_dir.c tests/test.h
+test_fstree_from_dir_CPPFLAGS = $(AM_CPPFLAGS)
+test_fstree_from_dir_CPPFLAGS += -DTESTPATH=$(top_srcdir)/tests/tar
+test_fstree_from_dir_LDADD = libfstree.a libcompat.a
+
test_fstree_init_SOURCES = tests/fstree_init.c tests/test.h
test_fstree_init_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/lib/fstree
test_fstree_init_LDADD = libfstree.a libfstream.a libcompat.a
@@ -236,6 +241,7 @@ check_PROGRAMS += test_mknode_simple test_mknode_slink test_mknode_reg
check_PROGRAMS += test_mknode_dir test_gen_inode_numbers test_add_by_path
check_PROGRAMS += test_get_path test_fstree_sort test_fstree_from_file
check_PROGRAMS += test_fstree_init test_filename_sane test_filename_sane_w32
+check_PROGRAMS += test_fstree_from_dir
check_PROGRAMS += test_tar_ustar0 test_tar_ustar1 test_tar_ustar2
check_PROGRAMS += test_tar_ustar3 test_tar_ustar4 test_tar_ustar5
check_PROGRAMS += test_tar_ustar6
@@ -255,6 +261,7 @@ TESTS += test_mknode_simple test_mknode_slink
TESTS += test_mknode_reg test_mknode_dir test_gen_inode_numbers
TESTS += test_add_by_path test_get_path test_fstree_sort test_fstree_from_file
TESTS += test_fstree_init test_filename_sane test_filename_sane_w32
+TESTS += test_fstree_from_dir
TESTS += test_tar_ustar0 test_tar_ustar1 test_tar_ustar2 test_tar_ustar3
TESTS += test_tar_ustar4 test_tar_ustar5 test_tar_ustar6
TESTS += test_tar_gnu0 test_tar_gnu1 test_tar_gnu2 test_tar_gnu3 test_tar_gnu4