summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-10-19 11:40:56 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-01-20 11:53:58 +0100
commita888044525d9f03290cc1afe62dcfa3bec4bc0b9 (patch)
tree0e2736817cc6a0bb9a41a453bb2bde3eb04551ea /tests
parentc41808cdc3a2c3c8ca5f73707745f48aae49e17e (diff)
Cleanup: Automake: remove single use variables
Throughout the Automake files, there is a consistent pattern somewhat like this: FOO_BINS = .... sbin_PROGRAMS += $(FOO_BINS) This commit all such patterns whenever the variable is not used anywhere else and appends to the target directly. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/checkfs/Makemodule.am5
-rw-r--r--tests/jittertest/Makemodule.am5
-rw-r--r--tests/unittests/Makemodule.am5
3 files changed, 3 insertions, 12 deletions
diff --git a/tests/checkfs/Makemodule.am b/tests/checkfs/Makemodule.am
index 64ab869..9f91373 100644
--- a/tests/checkfs/Makemodule.am
+++ b/tests/checkfs/Makemodule.am
@@ -8,10 +8,7 @@ makefiles_CPPFLAGS = $(AM_CPPFLAGS)
CHECKFS_BINS = \
makefiles checkfs
-CHECKFS_EXTRA = \
- tests/checkfs/README
-
-EXTRA_DIST += $(CHECKFS_EXTRA)
+EXTRA_DIST += tests/checkfs/README
if INSTALL_TESTS
pkglibexec_PROGRAMS += $(CHECKFS_BINS)
diff --git a/tests/jittertest/Makemodule.am b/tests/jittertest/Makemodule.am
index d4cc121..4698365 100644
--- a/tests/jittertest/Makemodule.am
+++ b/tests/jittertest/Makemodule.am
@@ -10,10 +10,7 @@ JITTEREST_BINS = \
JITTERTEST_SH = \
tests/jittertest/filljffs2.sh
-JITTERTEST_EXTRA = \
- tests/jittertest/README
-
-EXTRA_DIST += $(JITTERTEST_EXTRA) $(JITTERTEST_SH)
+EXTRA_DIST += tests/jittertest/README $(JITTERTEST_SH)
if INSTALL_TESTS
pkglibexec_SCRIPTS += $(JITTERTEST_SH)
diff --git a/tests/unittests/Makemodule.am b/tests/unittests/Makemodule.am
index cadd1bc..277cac2 100644
--- a/tests/unittests/Makemodule.am
+++ b/tests/unittests/Makemodule.am
@@ -14,10 +14,7 @@ TEST_BINS = \
ubilib_test \
mtdlib_test
-UNITTEST_EXTRA = \
- tests/unittests/sysfs_mock
-
-EXTRA_DIST += $(UNITTEST_EXTRA)
+EXTRA_DIST += tests/unittests/sysfs_mock
TESTS += $(TEST_BINS)
check_PROGRAMS += $(TEST_BINS)