aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-06-22 19:15:27 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-07-26 17:30:27 +0200
commit89af097113d7d95bebf7bf9b4f0b9736c614c0d9 (patch)
tree826bafeee66ee3c6e44013afa48ac7e648a2aafb
parenta386dc130a3c79751019023c7800a2a7cef3e297 (diff)
downloadhardware_replicant_libsamsung-ipc-89af097113d7d95bebf7bf9b4f0b9736c614c0d9.tar.gz
hardware_replicant_libsamsung-ipc-89af097113d7d95bebf7bf9b4f0b9736c614c0d9.tar.bz2
hardware_replicant_libsamsung-ipc-89af097113d7d95bebf7bf9b4f0b9736c614c0d9.zip
autotools: ship python test programs
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 <GNUtoo@cyberdimension.org>
-rw-r--r--samsung-ipc/tests/Makefile.am2
-rw-r--r--tools/Makefile.am2
-rw-r--r--tools/ipc-modem/Makefile.am2
3 files changed, 6 insertions, 0 deletions
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 \