summaryrefslogtreecommitdiff
path: root/tests/libfstree/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-10-22 12:46:49 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-03-30 22:31:30 +0200
commit27dfe8bf61a40e6b1a7f736119bf21037eaea2b9 (patch)
treee5d7866de253219de7da649216ba84bfe07408a3 /tests/libfstree/Makemodule.am
parente5fa9d585ed090602bcc045689046702199def86 (diff)
Add a unit test for the SOURCE_DATE_EPOCH logic
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libfstree/Makemodule.am')
-rw-r--r--tests/libfstree/Makemodule.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/libfstree/Makemodule.am b/tests/libfstree/Makemodule.am
index 022b8e4..d589026 100644
--- a/tests/libfstree/Makemodule.am
+++ b/tests/libfstree/Makemodule.am
@@ -57,6 +57,10 @@ test_filename_sane_w32_SOURCES += lib/fstree/filename_sane.c
test_filename_sane_w32_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_WIN32=1
test_filename_sane_w32_LDADD = libcompat.a
+test_fstree_epoch_SOURCES = tests/libfstree/epoch.c
+test_fstree_epoch_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/lib/fstree
+test_fstree_epoch_SOURCES += lib/fstree/source_date_epoch.c
+
fstree_fuzz_SOURCES = tests/libfstree/fstree_fuzz.c
fstree_fuzz_LDADD = libfstree.a libfstream.a libcompat.a
@@ -65,7 +69,7 @@ FSTREE_TESTS = \
test_mknode_reg test_mknode_dir test_gen_inode_numbers \
test_add_by_path test_get_path test_fstree_sort test_fstree_from_file \
test_fstree_init test_filename_sane test_filename_sane_w32 \
- test_fstree_from_dir test_fstree_glob1
+ test_fstree_from_dir test_fstree_glob1 test_fstree_epoch
if BUILD_TOOLS
check_PROGRAMS += $(FSTREE_TESTS)