Without that fix, we don't ship any of the python test programs:
    $ make dist
    $ tar tf libsamsung-ipc-0.7.0.tar.xz | grep "\.py$"
so 'make check' fail with the following error when building from a
tarball:
    make[4]: Leaving directory
    '/tmp/libsamsung-ipc/libsamsung-ipc-0.7.0/samsung-ipc/tests'
    fatal: making test-suite.log: failed to create libsamsung-ipc-test.trs
    fatal: making test-suite.log: failed to create libsamsung-ipc-test.log

Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org>
---
 samsung-ipc/tests/Makefile.am | 2 ++
 tools/Makefile.am             | 2 ++
 tools/ipc-modem/Makefile.am   | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/samsung-ipc/tests/Makefile.am b/samsung-ipc/tests/Makefile.am
index 8147a7b..8a2e96e 100644
--- a/samsung-ipc/tests/Makefile.am
+++ b/samsung-ipc/tests/Makefile.am
@@ -1,4 +1,5 @@
 NULL =
+EXTRA_DIST = $(NULL)
 
 AM_CFLAGS = \
        -I$(top_srcdir)/include \
@@ -34,3 +35,4 @@ endif
 PY_LOG_COMPILER = $(PYTHON)
 TEST_EXTENSIONS = .py
 TESTS = libsamsung-ipc-test.py
+EXTRA_DIST += $(TESTS)
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 081ce83..3183499 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,4 +1,5 @@
 NULL =
+EXTRA_DIST = $(NULL)
 
 AM_CFLAGS = \
        -I$(top_srcdir)/include \
@@ -26,6 +27,7 @@ TEST_EXTENSIONS = .py
 TESTS = \
        tests/nv_data-imei.py \
        tests/nv_data-md5.py
+EXTRA_DIST += $(TESTS)
 
 https_send_sms_SOURCES = https-send-sms.c
 https_send_sms_LDADD = $(LIBCURL_LIBS)
diff --git a/tools/ipc-modem/Makefile.am b/tools/ipc-modem/Makefile.am
index 361d106..cd9fc2b 100644
--- a/tools/ipc-modem/Makefile.am
+++ b/tools/ipc-modem/Makefile.am
@@ -1,4 +1,5 @@
 NULL =
+EXTRA_DIST = $(NULL)
 
 AM_CFLAGS = \
        -I$(top_srcdir)/include \
@@ -15,6 +16,7 @@ bin_PROGRAMS = ipc-modem
 PY_LOG_COMPILER = $(PYTHON)
 TEST_EXTENSIONS = .py
 TESTS = tests/ipc-modem.py
+EXTRA_DIST += $(TESTS)
 
 ipc_modem_SOURCES = \
 ipc-modem.c \
-- 
2.37.1

_______________________________________________
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to