include_HEADERS = src/wimlib.h
-EXTRA_DIST = \
- build-aux/strip_fPIC.sh \
- debian \
- programs/install.cmd
+EXTRA_DIST = \
+ build-aux/strip_fPIC.sh \
+ debian \
+ programs/install.cmd \
+ tests/common_tests.sh \
+ tests/security_descriptor_1.base64 \
+ tests/security_descriptor_1.bin \
+ tests/security_descriptor_2.base64 \
+ tests/security_descriptor_2.bin
pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = wimlib.pc
$(man1_MANS): config.status
-check_PROGRAMS = tests/ntfs-cmp
-tests_ntfs_cmp_SOURCES = tests/ntfs-cmp.c
-dist_check_SCRIPTS = tests/test-imagex tests/test-imagex-ntfs
+check_PROGRAMS = tests/tree-cmp
+tests_tree_cmp_SOURCES = tests/tree-cmp.c
+
+dist_check_SCRIPTS = tests/test-imagex \
+ tests/test-imagex-capture_and_apply
+
+if WITH_FUSE
+dist_check_SCRIPTS += tests/test-imagex-mount
+endif
+
+if WITH_NTFS_3G
+dist_check_SCRIPTS += tests/test-imagex-ntfs
+endif
+
TESTS = $(dist_check_SCRIPTS)