aboutsummaryrefslogtreecommitdiff
path: root/tests/gensquashfs/Makemodule.am
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gensquashfs/Makemodule.am')
-rw-r--r--tests/gensquashfs/Makemodule.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/gensquashfs/Makemodule.am b/tests/gensquashfs/Makemodule.am
new file mode 100644
index 0000000..a20e6ef
--- /dev/null
+++ b/tests/gensquashfs/Makemodule.am
@@ -0,0 +1,20 @@
+GENDATADIR=$(top_srcdir)/tests/gensquashfs
+
+test_filemap_xattr_SOURCES = tests/gensquashfs/filemap_xattr.c \
+ bin/gensquashfs/filemap_xattr.c \
+ bin/gensquashfs/mkfs.h
+test_filemap_xattr_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/bin/gensquashfs
+test_filemap_xattr_CPPFLAGS += -DTESTPATH=$(GENDATADIR)/xattr1.txt
+test_filemap_xattr_LDADD = libsquashfs.la libfstree.a libutil.a
+test_filemap_xattr_LDADD += libio.a libcompat.a
+
+GENSQUASHFS_TESTS = \
+ test_filemap_xattr
+
+if BUILD_TOOLS
+check_PROGRAMS += $(GENSQUASHFS_TESTS)
+TESTS += $(GENSQUASHFS_TESTS)
+endif
+
+EXTRA_DIST += $(GENDATADIR)/xattr1.txt
+