diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-09-01 14:29:28 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-09-01 14:29:28 +0200 |
commit | cdf61c556f95b0fc8a8ecf187d9f61e60bf99c53 (patch) | |
tree | 2d62d821b8fe75282720ffe28645d711ed3b7ebb /bin/gensquashfs/Makemodule.am | |
parent | 610063cb0934e2aaf4e1690b73b87b15691d10d0 (diff) |
gensquashfs: add a test for fstree_from_dir file source path
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/gensquashfs/Makemodule.am')
-rw-r--r-- | bin/gensquashfs/Makemodule.am | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/bin/gensquashfs/Makemodule.am b/bin/gensquashfs/Makemodule.am index dd32d5a..5246abf 100644 --- a/bin/gensquashfs/Makemodule.am +++ b/bin/gensquashfs/Makemodule.am @@ -38,6 +38,16 @@ test_fstree_from_file_CPPFLAGS += -I$(top_srcdir)/bin/gensquashfs/src test_fstree_from_file_LDADD = libio.a libsquashfs.la libcommon.a libfstree.a \ libutil.a libcompat.a +test_fstree_from_file2_SOURCES = bin/gensquashfs/test/fstree_from_file2.c \ + bin/gensquashfs/src/fstree_from_file.c \ + bin/gensquashfs/src/fstree_from_dir.c \ + bin/gensquashfs/src/glob.c \ + bin/gensquashfs/src/mkfs.h +test_fstree_from_file2_CPPFLAGS = $(AM_CPPFLAGS) +test_fstree_from_file2_CPPFLAGS += -I$(top_srcdir)/bin/gensquashfs/src +test_fstree_from_file2_LDADD = libio.a libsquashfs.la libcommon.a libfstree.a \ + libutil.a libcompat.a + test_fstree_glob1_SOURCES = bin/gensquashfs/test/fstree_glob1.c \ bin/gensquashfs/src/fstree_from_file.c \ bin/gensquashfs/src/fstree_from_dir.c \ @@ -68,7 +78,7 @@ fstree_fuzz_LDADD = libio.a libsquashfs.la libcommon.a libfstree.a \ libutil.a libcompat.a GENSQUASHFS_TESTS = \ - test_filemap_xattr test_fstree_from_file \ + test_filemap_xattr test_fstree_from_file test_fstree_from_file2 \ test_fstree_glob1 test_sort_file noinst_PROGRAMS += fstree_fuzz |