[PATCH mtd-utils] tests: add test_DATA to EXTRA_DIST

Michael Olbrich m.olbrich at pengutronix.de
Wed Feb 19 00:27:06 PST 2025


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.

Signed-off-by: Michael Olbrich <m.olbrich at pengutronix.de>
---
 Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index c7561272fab3..9efcacc6991a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -70,3 +70,5 @@ endif
 if UNIT_TESTS
 include tests/unittests/Makemodule.am
 endif
+
+EXTRA_DIST += $(test_DATA)
-- 
2.39.5




More information about the linux-mtd mailing list