From 09e151c895326824383258469f5c6f85652f19cd Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Thu, 20 Feb 2025 12:25:54 +0100 Subject: tests: add test_DATA to EXTRA_DIST Otherwise, the test files are missin in the tarball and building fails with: make[1]: *** No rule to make target 'tests/ubifs_tools-tests/images/good.gz', needed by 'all-am'. Stop. unless --without-tests is uses. Reviewed-by: Zhihao Cheng Signed-off-by: Michael Olbrich Signed-off-by: David Oberhollenzer --- tests/ubifs_tools-tests/Makemodule.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/ubifs_tools-tests/Makemodule.am b/tests/ubifs_tools-tests/Makemodule.am index 1715757..5fe4f83 100644 --- a/tests/ubifs_tools-tests/Makemodule.am +++ b/tests/ubifs_tools-tests/Makemodule.am @@ -10,7 +10,7 @@ test_SCRIPTS += \ tests/ubifs_tools-tests/fsck_tests/fsck_bad_image.sh \ tests/ubifs_tools-tests/mkfs_tests/build_fs_from_dir.sh -test_DATA += \ +TEST_IMAGE_FILES = \ tests/ubifs_tools-tests/images/good.gz \ tests/ubifs_tools-tests/images/sb_fanout.gz \ tests/ubifs_tools-tests/images/sb_fmt_version.gz \ @@ -64,3 +64,6 @@ test_DATA += \ tests/ubifs_tools-tests/images/dir_lost_not_recover.gz \ tests/ubifs_tools-tests/images/root_dir.gz \ tests/ubifs_tools-tests/images/empty_tnc.gz + +test_DATA += $(TEST_IMAGE_FILES) +EXTRA_DIST += $(TEST_IMAGE_FILES) -- cgit v1.2.3